]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
User->hasBlocked typing
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 1 Mar 2016 23:04:31 +0000 (00:04 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 1 Mar 2016 23:04:31 +0000 (00:04 +0100)
classes/User.php

index 12cc170f861a0a6c88cfb53d8f39c92c6c478a70..909cadb6eb31049d6dc13c204b04f58fc1121e2b 100644 (file)
@@ -190,7 +190,7 @@ class User extends Managed_DataObject
         return Sms_carrier::getKV('id', $this->carrier);
     }
 
-    function hasBlocked($other)
+    function hasBlocked(Profile $other)
     {
         return $this->getProfile()->hasBlocked($other);
     }