]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagged.php
Add var type to newListItem() parameter
[quix0rs-gnu-social.git] / actions / peopletagged.php
index d82a448ce541be60037fbbaa604d406e17a75642..db2420a8a3263a2866f247b66a8bfc819717fdb9 100644 (file)
@@ -53,7 +53,7 @@ class PeopletaggedAction extends Action
         return true;
     }
 
-    function prepare($args)
+    function prepare(array $args = array())
     {
         parent::prepare($args);
         $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
@@ -167,7 +167,7 @@ class PeopletagMemberList extends ProfileList
         $this->peopletag = $peopletag;
     }
 
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new PeopletagMemberListItem($profile, $this->peopletag, $this->action);
     }