@@ -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 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @param ServerRequestInterface $request |
58 | - * @return string|bool |
|
58 | + * @return string|false |
|
59 | 59 | */ |
60 | 60 | private function getSchema(ServerRequestInterface $request) |
61 | 61 | { |