diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-01 11:29:29 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-02 19:20:37 +0100 |
commit | 0e5147f0013b3ef19736e0ccc4a23e46defbe14c (patch) | |
tree | a2beb34377f4df88ddd06ff41725fc4c0cf57112 /lib/private/AppFramework/App.php | |
parent | bfb5ef4b296fdada6da2674c998bd3b7d8477574 (diff) | |
download | nextcloud-server-0e5147f0013b3ef19736e0ccc4a23e46defbe14c.tar.gz nextcloud-server-0e5147f0013b3ef19736e0ccc4a23e46defbe14c.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework/App.php')
-rw-r--r-- | lib/private/AppFramework/App.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AppFramework/App.php b/lib/private/AppFramework/App.php index 25708245e26..abb779ca979 100644 --- a/lib/private/AppFramework/App.php +++ b/lib/private/AppFramework/App.php @@ -84,9 +84,9 @@ class App { */ public static function main(string $controllerName, string $methodName, DIContainer $container, array $urlParams = null) { if (!is_null($urlParams)) { - $container[IRequest::class]->setUrlParameters($urlParams); + $container->query(IRequest::class)->setUrlParameters($urlParams); } else if (isset($container['urlParams']) && !is_null($container['urlParams'])) { - $container[IRequest::class]->setUrlParameters($container['urlParams']); + $container->query(IRequest::class)->setUrlParameters($container['urlParams']); } $appName = $container['AppName']; |