X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FUser.php;h=7a4564c80dbb0dc5f1b21de9b30cddd4709def05;hb=34b570352f9a21ddbc7a0d0925828f29a38d8d04;hp=55e52772453f498e80ddfd19c24c9fd0f4400853;hpb=7d191f8062e5d117ac234737bc7ab838859dc4d6;p=quix0rs-gnu-social.git diff --git a/classes/User.php b/classes/User.php index 55e5277245..7a4564c80d 100644 --- a/classes/User.php +++ b/classes/User.php @@ -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); }