@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | - * @return callable |
|
| 135 | + * @return string[] |
|
| 136 | 136 | */ |
| 137 | 137 | public static function getDefaultRequestFactory() |
| 138 | 138 | { |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | /** |
| 224 | 224 | * @param Closure $handler |
| 225 | 225 | * @param ContainerInterface $userContainer |
| 226 | - * @param array|null $globalMiddleware |
|
| 226 | + * @param callable[] $globalMiddleware |
|
| 227 | 227 | * @param array|null $routeMiddleware |
| 228 | 228 | * |
| 229 | 229 | * @return Closure |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | |
| 76 | 76 | $configsPath = realpath($configsPath); |
| 77 | 77 | |
| 78 | - foreach (glob($configsPath . DIRECTORY_SEPARATOR . $globConfigPatterns, $this->getGlobFlags()) as $fileName) { |
|
| 78 | + foreach (glob($configsPath.DIRECTORY_SEPARATOR.$globConfigPatterns, $this->getGlobFlags()) as $fileName) { |
|
| 79 | 79 | /** @noinspection PhpIncludeInspection */ |
| 80 | 80 | require_once $fileName; |
| 81 | 81 | } |