]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileaction.php
Introduced isCurrentProfileInScope() which shall check if current profile is
[quix0rs-gnu-social.git] / lib / profileaction.php
index 83b3170bed170c48e2d907908565c978346c9ba5..79008f3bfcb2397d6b13fdba0448732fc243a39d 100644 (file)
@@ -109,7 +109,7 @@ class ProfileAction extends ManagedAction
         return true;
     }
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }
@@ -345,7 +345,7 @@ class ProfileAction extends ManagedAction
 
 class SubscribersMiniList extends ProfileMiniList
 {
-    function newListItem($profile)
+    function newListItem(Profile $profile)
     {
         return new SubscribersMiniListItem($profile, $this->action);
     }