X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSearchSub%2FSearchSubPlugin.php;h=4c8d2121047fd528a8f6006dc8aaf8843d66067f;hb=e2d85a39e7f82ceef2cb2fe66a3a9a62ac9a363e;hp=4a5f47ec7b56040f9bda6c2e511fce128043609b;hpb=546a03b5eac5f172d543a889625e2f4de446e8b7;p=quix0rs-gnu-social.git diff --git a/plugins/SearchSub/SearchSubPlugin.php b/plugins/SearchSub/SearchSubPlugin.php index 4a5f47ec7b..4c8d212104 100644 --- a/plugins/SearchSub/SearchSubPlugin.php +++ b/plugins/SearchSub/SearchSubPlugin.php @@ -63,11 +63,11 @@ class SearchSubPlugin extends Plugin /** * Map URLs to actions * - * @param Net_URL_Mapper $m path-to-action mapper + * @param URLMapper $m path-to-action mapper * * @return boolean hook value; true means continue processing, false means stop. */ - function onRouterInitialized($m) + public function onRouterInitialized(URLMapper $m) { $m->connect('search/:search/subscribe', array('action' => 'searchsub'),