From c0359330b6c2e085be2f28ad727e6942685dfd39 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 18 Feb 2023 20:57:49 +0100 Subject: [PATCH] Add typehint for DI::baseUrl() --- src/DI.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } -- 2.39.5