Browse Source

fixed type hint

develop
Robin Thoni 8 years ago
parent
commit
83d1152fb0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Utils/Controller/LuRoute.php

+ 1
- 1
src/Utils/Controller/LuRoute.php View File

@@ -48,7 +48,7 @@ class LuRoute {
48 48
     /**
49 49
      * @param $middleware mixed
50 50
      */
51
-    public function addMiddleware(mixed $middleware)
51
+    public function addMiddleware($middleware)
52 52
     {
53 53
         if (is_string($middleware)) {
54 54
             $this->_middlewares[] = new LuMiddlewareDbo($middleware);

Loading…
Cancel
Save