From 45e1779a0797b358b0a5fff4c53ebe1a76463f21 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Mon, 26 Aug 2019 13:03:38 +0200 Subject: [PATCH] Remove callable typehint Because we need to pass an array and that doesn't work [MAILPOET-2219] --- lib/WP/Functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WP/Functions.php b/lib/WP/Functions.php index 6d157423ff..5f4257a7af 100644 --- a/lib/WP/Functions.php +++ b/lib/WP/Functions.php @@ -344,7 +344,7 @@ class Functions { return plugins_url($path, $plugin); } - function registerActivationHook($file, callable $function) { + function registerActivationHook($file, $function) { return register_activation_hook($file, $function); }