From: Philipp Date: Sat, 18 Feb 2023 19:57:49 +0000 (+0100) Subject: Add typehint for DI::baseUrl() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c0359330b6c2e085be2f28ad727e6942685dfd39;p=friendica.git Add typehint for DI::baseUrl() --- diff --git a/src/DI.php b/src/DI.php index 78eb5bee4c..cc765fa529 100644 --- a/src/DI.php +++ b/src/DI.php @@ -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); }