mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 05:24:03 +00:00
Improve DatabaseManager create & delete fns code
This commit is contained in:
parent
11d7c564d9
commit
08319695b9
2 changed files with 19 additions and 21 deletions
|
|
@ -6,8 +6,8 @@ namespace Stancl\Tenancy\Exceptions;
|
|||
|
||||
class DatabaseManagerNotRegisteredException extends \Exception
|
||||
{
|
||||
public function __construct($error, $driver)
|
||||
public function __construct($driver)
|
||||
{
|
||||
$this->message = "$error: no database manager for driver $driver is registered.";
|
||||
$this->message = "Database manager for driver $driver is not registered.";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue