X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FRSSCloud%2FRSSCloudPlugin.php;h=15a25c8d22a893d99a2a50f11803ddaa9277b7ba;hb=200721a2f45dbfa5463ba32165c7f60e517f0622;hp=55f73783fa4785bf4d2ee8ce8201712000bca83f;hpb=611e5ab42137fc420bc9089185eff9795e028cc0;p=quix0rs-gnu-social.git diff --git a/plugins/RSSCloud/RSSCloudPlugin.php b/plugins/RSSCloud/RSSCloudPlugin.php index 55f73783fa..15a25c8d22 100644 --- a/plugins/RSSCloud/RSSCloudPlugin.php +++ b/plugins/RSSCloud/RSSCloudPlugin.php @@ -102,7 +102,7 @@ class RSSCloudPlugin extends Plugin * * @return boolean hook return */ - function onRouterInitialized($m) + function onRouterInitialized(URLMapper $m) { $m->connect('/main/rsscloud/request_notify', array('action' => 'RSSCloudRequestNotify')); @@ -153,7 +153,7 @@ class RSSCloudPlugin extends Plugin * @return boolean hook return */ - function onStartEnqueueNotice($notice, &$transports) + function onStartEnqueueNotice(Notice $notice, array &$transports) { if ($notice->isLocal()) { array_push($transports, 'rsscloud'); @@ -192,13 +192,13 @@ class RSSCloudPlugin extends Plugin * * @return boolean hook return */ - function onEndInitializeQueueManager($manager) + function onEndInitializeQueueManager(QueueManager $manager) { $manager->connect('rsscloud', 'RSSCloudQueueHandler'); return true; } - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $versions[] = array('name' => 'RSSCloud', 'version' => RSSCLOUDPLUGIN_VERSION,