summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework/middleware/middlewaredispatcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/appframework/middleware/middlewaredispatcher.php')
-rw-r--r--lib/private/appframework/middleware/middlewaredispatcher.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/appframework/middleware/middlewaredispatcher.php b/lib/private/appframework/middleware/middlewaredispatcher.php
index 5cce97b2167..c2377b8844b 100644
--- a/lib/private/appframework/middleware/middlewaredispatcher.php
+++ b/lib/private/appframework/middleware/middlewaredispatcher.php
@@ -26,7 +26,7 @@ namespace OC\AppFramework\Middleware;
use OC\AppFramework\Controller\Controller;
use OCP\AppFramework\Http\Response;
-use OCP\AppFramework\IMiddleWare;
+use OCP\AppFramework\MiddleWare;
/**
* This class is used to store and run all the middleware in correct order
@@ -58,7 +58,7 @@ class MiddlewareDispatcher {
* Adds a new middleware
* @param Middleware $middleware the middleware which will be added
*/
- public function registerMiddleware(IMiddleware $middleWare){
+ public function registerMiddleware(Middleware $middleWare){
array_push($this->middlewares, $middleWare);
}