mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:54:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
d3712dfacc
commit
2ec9afcb07
1 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ class TenantManagerv2
|
|||
// todo event "listeners" instead of "callbacks"
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* TODO.
|
||||
*
|
||||
* @param string $name
|
||||
* @param callable $callback
|
||||
|
|
@ -122,7 +122,7 @@ class TenantManagerv2
|
|||
}
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* TODO.
|
||||
*
|
||||
* @param string $name
|
||||
* @return string[]
|
||||
|
|
@ -131,7 +131,7 @@ class TenantManagerv2
|
|||
{
|
||||
return array_reduce($this->eventCalbacks[$name] ?? [], function ($prevented, $callback) {
|
||||
$prevented = array_merge($prevented, $callback($this) ?? []);
|
||||
|
||||
|
||||
return $prevented;
|
||||
}, []);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue