1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 01:34:02 +00:00

fix ./test

This commit is contained in:
Samuel Štancl 2019-08-15 14:06:54 +02:00
parent f183235992
commit 19409d7723
3 changed files with 15 additions and 30 deletions

View file

@ -23,7 +23,7 @@ final class TenantManager
*
* @var StorageDriver
*/
protected $storage;
public $storage;
/**
* Database manager.
@ -350,24 +350,4 @@ final class TenantManager
return $this->tenant[(string) $attribute];
}
public function getStorageDriver(): Interfaces\StorageDriver
{
return $this->storage;
}
/**
* Set the storage driver.
*
* @param Interfaces\StorageDriver|string $driver
* @return void
*/
public function setStorageDriver($driver)
{
if (is_string($driver)) {
$driver = $this->app->make($driver);
}
$this->storage = $driver;
}
}