1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 11:34:03 +00:00

Add exceptions missing parent constructor call (#137)

This commit is contained in:
Anton Komarev 2019-09-26 15:35:02 +03:00 committed by Samuel Štancl
parent fc39512b3b
commit 0081726bda
2 changed files with 2 additions and 2 deletions

View file

@ -8,6 +8,6 @@ class DatabaseManagerNotRegisteredException extends \Exception
{
public function __construct($driver)
{
$this->message = "Database manager for driver $driver is not registered.";
parent::__construct("Database manager for driver $driver is not registered.");
}
}

View file

@ -12,7 +12,7 @@ class TenantCouldNotBeIdentifiedException extends \Exception implements Provides
{
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