]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Sample/SamplePlugin.php
Fixed type-hints.
[quix0rs-gnu-social.git] / plugins / Sample / SamplePlugin.php
index c61c021dc44ee3625a3095a5e335fd6e7e612b1b..1c5fb02f4d6d48ea11a70bda7e7892f87d6880bf 100644 (file)
@@ -182,11 +182,11 @@ class SamplePlugin extends Plugin
      * action will be named 'FoobarAction', where action = 'foobar'. The class
      * must be loaded in the onAutoload() method.
      *
-     * @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)
+    function onRouterInitialized(URLMapper $m)
     {
         $m->connect('main/hello',
                     array('action' => 'hello'));