]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added missing type-hint for EndPublicGroupNav (it is Menu).
authorRoland Haeder <roland@mxchange.org>
Mon, 25 Jan 2016 14:44:03 +0000 (15:44 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:31 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/Directory/DirectoryPlugin.php

index 85f356fd0ced34749e64b4b700021e231a82bb2a..0bc433b94e4e54ebf62db13296e02cf2bb7b08b9 100644 (file)
@@ -203,7 +203,7 @@ class ActivitySpamPlugin extends Plugin
         return true;
     }
 
-    function onEndPublicGroupNav($nav)
+    function onEndPublicGroupNav(Menu $nav)
     {
         $user = common_current_user();
 
index 3c8d1e5910c28689ef464b04babf15db55fa88e7..4b2e4b9a1e3c9ad3a8f04a9f72cc0fcfc5c194da 100644 (file)
@@ -211,7 +211,7 @@ class DirectoryPlugin extends Plugin
      *
      * @see Action
      */
-    function onEndPublicGroupNav($nav)
+    function onEndPublicGroupNav(Menu $nav)
     {
         // XXX: Maybe this should go under search instead?