diff --git a/src/Parthenon/Billing/BillaBear/Webhook/Handler.php b/src/Parthenon/Billing/BillaBear/Webhook/Handler.php index 927c93ae..ef22a86b 100644 --- a/src/Parthenon/Billing/BillaBear/Webhook/Handler.php +++ b/src/Parthenon/Billing/BillaBear/Webhook/Handler.php @@ -26,7 +26,7 @@ final class Handler /** * @param ProcessorInterface[] $processors */ - public function __construct(private array $processors) + public function __construct(private array $processors = []) { } diff --git a/src/Parthenon/MultiTenancy/Dbal/TenantConnection.php b/src/Parthenon/MultiTenancy/Dbal/TenantConnection.php index 79145248..0048449d 100644 --- a/src/Parthenon/MultiTenancy/Dbal/TenantConnection.php +++ b/src/Parthenon/MultiTenancy/Dbal/TenantConnection.php @@ -51,7 +51,7 @@ public function setCurrentTenantProvider(TenantProviderInterface $currentTenantP public function connect(bool $refresh = false): bool { - if ($this->connected && !$refresh) { + if ($this->conneqted && !$refresh) { return false; }