]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
Issue 13221: Diaspora posts are now stored correctly
[friendica.git] / src / DI.php
index 78eb5bee4c9ed7491dfbb38962bd98df51af98ff..8d706ed374a1ab3eb80b34280b983dcf0805dfa5 100644 (file)
@@ -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);
        }