diff options
author | Daniel Rudolf <github.com@daniel-rudolf.de> | 2021-07-01 17:00:29 +0300 |
---|---|---|
committer | Daniel Rudolf <github.com@daniel-rudolf.de> | 2021-07-01 17:00:29 +0300 |
commit | e16bf707aab3c155f871f6ee6d60079932ecc014 (patch) | |
tree | ce5f8778c416ce3102cd3371bcb841af905d762d /lib/private/legacy/OC_Util.php | |
parent | a43de10d1e772be7b891c1717468d2c7d6e9b836 (diff) |
Fix UtilTest::testDefaultApps()
Oh wow... This definitly was no best practice... :unamused:
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
Diffstat (limited to 'lib/private/legacy/OC_Util.php')
-rw-r--r-- | lib/private/legacy/OC_Util.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index e62dd2d0c2e..afd28a697d7 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -1089,6 +1089,7 @@ class OC_Util { * @suppress PhanDeprecatedFunction */ public static function getDefaultPageUrl() { + /** @var IURLGenerator $urlGenerator */ $urlGenerator = \OC::$server->get(IURLGenerator::class); return $urlGenerator->linkToDefaultPageUrl(); } |