1
0
Fork 0
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:
Samuel Štancl 2019-09-08 15:51:48 +02:00
parent 11d7c564d9
commit 08319695b9
2 changed files with 19 additions and 21 deletions

View file

@ -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.";
}
}