]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/blockedfromgroup.php
Added more checked type-hints.
[quix0rs-gnu-social.git] / actions / blockedfromgroup.php
index a2e7c5767f64be9610681f638be8ef899140ff0a..60f108dee383a333a35dbcec167655cd1c10512d 100644 (file)
@@ -44,7 +44,7 @@ class BlockedfromgroupAction extends GroupAction
 {
     var $page = null;
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }
@@ -151,7 +151,7 @@ class GroupBlockList extends ProfileList
         $this->group = $group;
     }
 
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new GroupBlockListItem($profile, $this->group, $this->action);
     }