X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FGNUsocialPhoto%2Fclasses%2FPhoto.php;h=c10b64524d24dfe0a34c4785cbd37d04461880c1;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=4e4ee69c9739c303a9fc946448304cfbe6fdf077;hpb=2f86cd860231f92213950d439e9a109b7a5f11c4;p=quix0rs-gnu-social.git diff --git a/plugins/GNUsocialPhoto/classes/Photo.php b/plugins/GNUsocialPhoto/classes/Photo.php index 4e4ee69c97..c10b64524d 100644 --- a/plugins/GNUsocialPhoto/classes/Photo.php +++ b/plugins/GNUsocialPhoto/classes/Photo.php @@ -46,7 +46,7 @@ class Photo extends Managed_DataObject public $description; // text public $profile_id; // int - public static function getByNotice($notice) + public static function getByNotice(Notice $notice) { return self::getKV('uri', $notice->uri); } @@ -81,7 +81,7 @@ class Photo extends Managed_DataObject ); } - static function saveNew(Profile $profile, $photo_uri, $thumb_uri, $title, $description, $options=array()) + static function saveNew(Profile $profile, $photo_uri, $thumb_uri, $title, $description, array $options=array()) { $photo = new Photo();