mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 05:24:03 +00:00
phpstan improvements
This commit is contained in:
parent
87212e5390
commit
d463e2da61
10 changed files with 18 additions and 27 deletions
|
|
@ -8,7 +8,7 @@ use Exception;
|
|||
|
||||
class DomainOccupiedByOtherTenantException extends Exception
|
||||
{
|
||||
public function __construct($domain)
|
||||
public function __construct(string $domain)
|
||||
{
|
||||
parent::__construct("The $domain domain is occupied by another tenant.");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ use Exception;
|
|||
|
||||
class TenancyNotInitializedException extends Exception
|
||||
{
|
||||
public function __construct($message = '')
|
||||
public function __construct(string $message = '')
|
||||
{
|
||||
parent::__construct($message ?: 'Tenancy is not initialized.');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue