@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * @param callable|string $basePath The base path in which the middleware is created (optional) |
| 80 | 80 | * @param callable $factory Takes no argument and MUST return a middleware callable or false |
| 81 | 81 | * |
| 82 | - * @return callable |
|
| 82 | + * @return \Closure |
|
| 83 | 83 | */ |
| 84 | 84 | public static function create($basePath, callable $factory = null) |
| 85 | 85 | { |