]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ProfileMiniList->newListItem changed to match ProfileList->newListItem
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 4 Jan 2016 23:09:47 +0000 (00:09 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 4 Jan 2016 23:09:47 +0000 (00:09 +0100)
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()