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

added missing return of fake instance

This commit is contained in:
Chinmay Purav 2023-03-18 20:04:13 +05:30 committed by GitHub
parent 1fbb2f42a3
commit 30e1f1c2fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,8 @@ class Tenancy extends Facade
public static function fake()
{
static::swap(new TenancyFake);
static::swap($fake = new TenancyFake);
return $fake;
}
}