From a6e8c7e6705c03df879de59ddab8bd31d2ae59d3 Mon Sep 17 00:00:00 2001 From: "Harry (hjbdev)" Date: Mon, 31 Mar 2025 16:16:31 +0000 Subject: [PATCH] s m h --- app/Drivers/DatabaseDriver.php | 2 +- app/Drivers/Driver.php | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/Drivers/DatabaseDriver.php b/app/Drivers/DatabaseDriver.php index c633b13..9d10822 100644 --- a/app/Drivers/DatabaseDriver.php +++ b/app/Drivers/DatabaseDriver.php @@ -2,7 +2,7 @@ namespace App\Drivers; -abstract class DatabaseDriver implements Driver +abstract class DatabaseDriver extends Driver { public string $defaultUser = 'keystone'; public string $defaultDb = 'keystone'; diff --git a/app/Drivers/Driver.php b/app/Drivers/Driver.php index 4061a9e..5e935aa 100644 --- a/app/Drivers/Driver.php +++ b/app/Drivers/Driver.php @@ -4,12 +4,14 @@ namespace App\Drivers; use App\Data\Deployments\Plan; -interface Driver +abstract class Driver { - public Plan $deploymentPlan { get; } + public Plan $deploymentPlan; + public ?string $containerName; + public ?string $containerId; - public function __construct( - public ?string $containerName = null, - public ?string $containerId = null, + abstract public function __construct( + ?string $containerName = null, + ?string $containerId = null, ); } \ No newline at end of file