]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/actions/apistatusesfavs.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / Favorite / actions / apistatusesfavs.php
index 01a5d3014e1637ee51e4475cf6832b38e6bf1ba6..baba0c8db8cb9a7964ce9cc9f469c85360c1a59d 100644 (file)
@@ -105,12 +105,12 @@ class ApiStatusesFavsAction extends ApiAuthAction
                        $profile = Profile::getKV('id', $id);
                        $ids_with_profile_data[$i]['user_id'] = $id;
                        $ids_with_profile_data[$i]['nickname'] = $profile->nickname;
-                       $ids_with_profile_data[$i]['fullname'] = $profile->fullname;                    
-                       $ids_with_profile_data[$i]['profileurl'] = $profile->profileurl;                                                
+                       $ids_with_profile_data[$i]['fullname'] = $profile->fullname;
+                       $ids_with_profile_data[$i]['profileurl'] = $profile->profileurl;
                        $profile = new Profile();
                        $profile->id = $id;
                        $avatarurl = $profile->avatarUrl(24);
-                       $ids_with_profile_data[$i]['avatarurl'] = $avatarurl;                                                           
+                       $ids_with_profile_data[$i]['avatarurl'] = $avatarurl;
                        $i++;
                }
                
@@ -129,7 +129,7 @@ class ApiStatusesFavsAction extends ApiAuthAction
      * @return boolean is read only action?
      */
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }