mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:03:41 +00:00
Add type declaration to parameter
This commit is contained in:
parent
5d0a3be4f6
commit
e002365d7f
1 changed files with 1 additions and 1 deletions
|
@ -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 '';
|
||||
|
|
Loading…
Reference in a new issue