mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
added missing return of fake instance
This commit is contained in:
parent
1fbb2f42a3
commit
30e1f1c2fb
1 changed files with 3 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ class Tenancy extends Facade
|
||||||
|
|
||||||
public static function fake()
|
public static function fake()
|
||||||
{
|
{
|
||||||
static::swap(new TenancyFake);
|
static::swap($fake = new TenancyFake);
|
||||||
|
|
||||||
|
return $fake;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue