Remove callable typehint
Because we need to pass an array and that doesn't work [MAILPOET-2219]
This commit is contained in:
@@ -344,7 +344,7 @@ class Functions {
|
|||||||
return plugins_url($path, $plugin);
|
return plugins_url($path, $plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
function registerActivationHook($file, callable $function) {
|
function registerActivationHook($file, $function) {
|
||||||
return register_activation_hook($file, $function);
|
return register_activation_hook($file, $function);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user