diff options
Diffstat (limited to 'lib/activity.php')
-rw-r--r-- | lib/activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/activity.php b/lib/activity.php index 4b724ee90..23cf50f70 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -723,7 +723,7 @@ class ActivityObject } } - static function fromNotice($notice) + static function fromNotice(Notice $notice) { $object = new ActivityObject(); @@ -737,7 +737,7 @@ class ActivityObject return $object; } - static function fromProfile($profile) + static function fromProfile(Profile $profile) { $object = new ActivityObject(); |