mirror of
https://github.com/friendica/friendica
synced 2025-05-02 10:24:22 +02:00
Add type-hint to debug null value fatal error
- Part of https://github.com/friendica/friendica/issues/7675#issuecomment-566076500
This commit is contained in:
parent
482af202f5
commit
77e00f11a7
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class System extends BaseObject
|
|||
* @return string The cleaned url
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function removedBaseUrl($orig_url)
|
||||
public static function removedBaseUrl(string $orig_url)
|
||||
{
|
||||
return self::getApp()->removeBaseURL($orig_url);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue