1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 22:24:03 +00:00

Merge branch '1.x' into db-storage-driver

This commit is contained in:
Samuel Štancl 2019-08-13 22:22:49 +02:00
commit 4827a2c96b
3 changed files with 3 additions and 4 deletions

View file

@ -8,7 +8,7 @@ class InitializeTenancy
{
public function __construct(Closure $onFail = null)
{
$this->onFail = $onFail ?: function ($e) {
$this->onFail = $onFail ?? function ($e) {
throw $e;
};
}