mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 17:24:03 +00:00
wip
This commit is contained in:
commit
34b29b4954
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class TenantManagerv2
|
||||||
{
|
{
|
||||||
return array_reduce($this->eventCalbacks[$name] ?? [], function ($prevented, $callback) {
|
return array_reduce($this->eventCalbacks[$name] ?? [], function ($prevented, $callback) {
|
||||||
$prevented = array_merge($prevented, $callback($this) ?? []);
|
$prevented = array_merge($prevented, $callback($this) ?? []);
|
||||||
|
|
||||||
return $prevented;
|
return $prevented;
|
||||||
}, []);
|
}, []);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue