Skip to content

Commit

Permalink
[Billing] Fix billabear webhook handler
Browse files Browse the repository at this point in the history
  • Loading branch information
that-guy-iain committed Jul 22, 2024
1 parent f7c0268 commit b7273bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Parthenon/Billing/BillaBear/Webhook/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ final class Handler
/**
* @param ProcessorInterface[] $processors
*/
public function __construct(private array $processors)
public function __construct(private array $processors = [])
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/Parthenon/MultiTenancy/Dbal/TenantConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b7273bd

Please sign in to comment.