mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:44:04 +00:00
Add exceptions missing parent constructor call (#137)
This commit is contained in:
parent
fc39512b3b
commit
0081726bda
2 changed files with 2 additions and 2 deletions
|
|
@ -8,6 +8,6 @@ class DatabaseManagerNotRegisteredException extends \Exception
|
||||||
{
|
{
|
||||||
public function __construct($driver)
|
public function __construct($driver)
|
||||||
{
|
{
|
||||||
$this->message = "Database manager for driver $driver is not registered.";
|
parent::__construct("Database manager for driver $driver is not registered.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class TenantCouldNotBeIdentifiedException extends \Exception implements Provides
|
||||||
{
|
{
|
||||||
public function __construct($domain)
|
public function __construct($domain)
|
||||||
{
|
{
|
||||||
$this->message = "Tenant could not be identified on domain $domain";
|
parent::__construct("Tenant could not be identified on domain $domain");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSolution(): Solution
|
public function getSolution(): Solution
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue