]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/User.php
Fix Direct Message functionality.
[quix0rs-gnu-social.git] / classes / User.php
index 55e52772453f498e80ddfd19c24c9fd0f4400853..7a4564c80dbb0dc5f1b21de9b30cddd4709def05 100644 (file)
@@ -142,7 +142,7 @@ class User extends Managed_DataObject
         return $this->getProfile()->isSubscribed($other);
     }
 
-    function hasPendingSubscription($other)
+    function hasPendingSubscription(Profile $other)
     {
         return $this->getProfile()->hasPendingSubscription($other);
     }
@@ -440,7 +440,7 @@ class User extends Managed_DataObject
         return $this->getProfile()->hasFave($notice);
     }
 
-    function mutuallySubscribed($other)
+    function mutuallySubscribed(Profile $other)
     {
         return $this->getProfile()->mutuallySubscribed($other);
     }