diff --git a/src/App.php b/src/App.php index c6ed818dd1..cf53e956f0 100644 --- a/src/App.php +++ b/src/App.php @@ -383,7 +383,7 @@ class App * @deprecated 2019.09 - Use BaseURL->remove() instead * @see BaseURL::remove() */ - public function removeBaseURL($origURL) + public function removeBaseURL(string $origURL) { return $this->baseURL->remove($origURL); } diff --git a/src/Core/System.php b/src/Core/System.php index f367d28587..7aba0653e1 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -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); }