X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=8d706ed374a1ab3eb80b34280b983dcf0805dfa5;hb=7b02585b978f7aef9d5c5a2c5d2b238cb674a4b7;hp=78eb5bee4c9ed7491dfbb38962bd98df51af98ff;hpb=6d38b44b9735ff9acb065d56e98267539fd669cf;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 78eb5bee4c..8d706ed374 100644 --- a/src/DI.php +++ b/src/DI.php @@ -69,7 +69,7 @@ abstract class DI /** * Returns a clone of the current dice instance - * This usefull for overloading the current instance with mocked methods during tests + * This useful for overloading the current instance with mocked methods during tests * * @return Dice */ @@ -126,10 +126,7 @@ abstract class DI return self::$dice->create(App\Arguments::class); } - /** - * @return App\BaseURL - */ - public static function baseUrl() + public static function baseUrl(): App\BaseURL { return self::$dice->create(App\BaseURL::class); }