1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:54:04 +00:00
This commit is contained in:
Samuel Štancl 2019-09-07 16:41:13 +02:00
commit 34b29b4954

View file

@ -127,7 +127,7 @@ class TenantManagerv2
{
return array_reduce($this->eventCalbacks[$name] ?? [], function ($prevented, $callback) {
$prevented = array_merge($prevented, $callback($this) ?? []);
return $prevented;
}, []);
}