From: Mikael Nordfeldth Date: Fri, 7 Nov 2014 15:13:45 +0000 (+0100) Subject: &$supported in CommandSupportedAPI event is boolean X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6ac2a5b8ffb440a6654cab3d82a2e8bece4cd0bb;p=quix0rs-gnu-social.git &$supported in CommandSupportedAPI event is boolean not array as we specified here --- diff --git a/plugins/Favorite/FavoritePlugin.php b/plugins/Favorite/FavoritePlugin.php index 9f2618d582..d06153965e 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -416,7 +416,7 @@ class FavoritePlugin extends ActivityHandlerPlugin /** * Are we allowed to perform a certain command over the API? */ - public function onCommandSupportedAPI(Command $cmd, array &$supported) + public function onCommandSupportedAPI(Command $cmd, &$supported) { $supported = $supported || $cmd instanceof FavCommand; }