diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 8b65c0d0e0..f235b1b8c4 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -602,7 +602,7 @@ class Photo * @param string $image_uri The URI of the photo * @return string The rid of the photo, or an empty string if the URI is not local */ - public static function ridFromURI($image_uri) + public static function ridFromURI(string $image_uri) { if (!stristr($image_uri, DI::baseUrl() . '/photo/')) { return '';