]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileminilist.php
ProfileMiniList->newListItem changed to match ProfileList->newListItem
[quix0rs-gnu-social.git] / lib / profileminilist.php
index d2997d12de55cad30aa1a64d40a64b75570ae413..807bed50a2f86d0c5e7a13994f5248d5dd937578 100644 (file)
@@ -48,9 +48,9 @@ class ProfileMiniList extends ProfileList
         $this->out->elementStart('ul', 'entities users xoxo');
     }
 
-    function newListItem($profile)
+    function newListItem(Profile $target)
     {
-        return new ProfileMiniListItem($profile, $this->action);
+        return new ProfileMiniListItem($target, $this->action);
     }
 
     function maxProfiles()