mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Merge branch '2.x' of github.com:stancl/tenancy into 2.x
This commit is contained in:
commit
1e6b21cfd4
2 changed files with 2 additions and 2 deletions
|
|
@ -378,7 +378,7 @@ class Tenant implements ArrayAccess
|
|||
public function __call($method, $parameters)
|
||||
{
|
||||
if (Str::startsWith($method, 'with')) {
|
||||
return $this->with(Str::snake(substr($method, 4)), $parameters[0]);
|
||||
return $this->with(Str::snake(substr($method, 4)), $parameters[0]);
|
||||
}
|
||||
|
||||
static::throwBadMethodCallException($method);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue