]> git.mxchange.org Git - friendica.git/commitdiff
Add typehint for DI::baseUrl()
authorPhilipp <admin@philipp.info>
Sat, 18 Feb 2023 19:57:49 +0000 (20:57 +0100)
committerPhilipp <admin@philipp.info>
Sat, 18 Feb 2023 20:12:21 +0000 (21:12 +0100)
src/DI.php

index 78eb5bee4c9ed7491dfbb38962bd98df51af98ff..cc765fa529c1ec6c1a2f4c4974de013e957cdea6 100644 (file)
@@ -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);
        }