| @@ -154,13 +154,13 @@ | ||
| 154 | 154 | /** |
| 155 | 155 | * Middleware that logs requests, responses, and errors using a message |
| 156 | 156 | * formatter. |
| 157 | 157 | * |
| 158 | - * @phpstan-param \Psr\Log\LogLevel::* $logLevel Level at which to log requests. | |
| 159 | - * | |
| 160 | 158 | * @param LoggerInterface $logger Logs messages. |
| 161 | 159 | * @param MessageFormatterInterface|MessageFormatter $formatter Formatter used to create message strings. |
| 162 | 160 | * @param string $logLevel Level at which to log requests. |
| 161 | + * | |
| 162 | + * @phpstan-param \Psr\Log\LogLevel::* $logLevel Level at which to log requests. | |
| 163 | 163 | * |
| 164 | 164 | * @return callable Returns a function that accepts the next handler. |
| 165 | 165 | */ |
| 166 | 166 | public static function log(LoggerInterface $logger, $formatter, string $logLevel = 'info') : callable |