Remove callable typehint

Because we need to pass an array and that doesn't work

[MAILPOET-2219]
This commit is contained in:
Pavel Dohnal
2019-08-26 13:03:38 +02:00
committed by M. Shull
parent abb772a1c5
commit 45e1779a07

View File

@@ -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);
} }