]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/groupaction.php
Added more checked type-hints.
[quix0rs-gnu-social.git] / lib / groupaction.php
index 5d11e6acddc7e2cdeeee5ae5c4e85ae82acf1f13..b1a5d771979caf5c432882ada033e0eddedd3d8c 100644 (file)
@@ -325,7 +325,7 @@ class GroupAdminSection extends ProfileSection
 
 class GroupMembersMiniList extends ProfileMiniList
 {
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new GroupMembersMiniListItem($profile, $this->action);
     }
@@ -347,7 +347,7 @@ class GroupMembersMiniListItem extends ProfileMiniListItem
 
 class GroupBlockedMiniList extends ProfileMiniList
 {
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new GroupBlockedMiniListItem($profile, $this->action);
     }