Explorar el Código

fixed type hint

develop
Robin Thoni hace 8 años
padre
commit
83d1152fb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/Utils/Controller/LuRoute.php

+ 1
- 1
src/Utils/Controller/LuRoute.php Ver fichero

@@ -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…
Cancelar
Guardar