diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-21 10:54:17 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-21 10:55:52 +0100 |
commit | ca9f364fd4746093a38cdcaf2456f5f86aebb89f (patch) | |
tree | c5766ca8f760833381af5bc30ac16a0782080d5d /lib/private/AppFramework/Middleware | |
parent | a773b055fc8ee3ae41a50e74542efa8b331b0602 (diff) | |
download | nextcloud-server-ca9f364fd4746093a38cdcaf2456f5f86aebb89f.tar.gz nextcloud-server-ca9f364fd4746093a38cdcaf2456f5f86aebb89f.zip |
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework/Middleware')
-rw-r--r-- | lib/private/AppFramework/Middleware/MiddlewareDispatcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php b/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php index 30efe815888..e1262b6c712 100644 --- a/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php +++ b/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php @@ -85,7 +85,7 @@ class MiddlewareDispatcher { * @param string $methodName the name of the method that will be called on * the controller */ - public function beforeController(Controller $controller, $methodName){ + public function beforeController(Controller $controller, string $methodName){ // we need to count so that we know which middlewares we have to ask in // case there is an exception $middlewareCount = \count($this->middlewares); |