Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
masterix21 committed Jul 18, 2024
1 parent 2911d53 commit 61ac55b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: Requirements
weight: 3
---

This package requires **PHP 8.2+** and **Laravel 11.0+**.
This package requires **PHP 8.2+** and **Laravel 10.0+**.
2 changes: 1 addition & 1 deletion src/Tasks/PrefixCacheTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function forgetCurrent(): void
$this->setCachePrefix($this->originalPrefix);
}

protected function setCachePrefix(string $prefix)
protected function setCachePrefix(string $prefix): void
{
config()->set('cache.prefix', $prefix);

Expand Down
2 changes: 1 addition & 1 deletion src/Tasks/SwitchTenantDatabaseTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function forgetCurrent(): void
$this->setTenantConnectionDatabaseName(null);
}

protected function setTenantConnectionDatabaseName(?string $databaseName)
protected function setTenantConnectionDatabaseName(?string $databaseName): void
{
$tenantConnectionName = $this->tenantDatabaseConnectionName();

Expand Down

0 comments on commit 61ac55b

Please sign in to comment.