Hook::has(): Method expects only one parameter
This commit is contained in:
parent
a0ed272cb8
commit
8358dc1c5e
|
@ -113,7 +113,7 @@ class Hook
|
|||
{
|
||||
$name = self::normalizeHookName($name);
|
||||
|
||||
if (!self::has($name, $key)) {
|
||||
if (!self::has($name)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue