@@ -174,6 +174,7 @@ discard block |
||
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | 176 | * Interpolate and style the message, and then send it to the log. |
| 177 | + * @param string $message |
|
| 177 | 178 | */ |
| 178 | 179 | protected function doLog($outputStreamWrapper, $level, $message, $context) |
| 179 | 180 | { |
@@ -267,7 +268,7 @@ discard block |
||
| 267 | 268 | * |
| 268 | 269 | * @param array $context |
| 269 | 270 | * |
| 270 | - * @return array |
|
| 271 | + * @return string |
|
| 271 | 272 | */ |
| 272 | 273 | private static function interpolationReplacements(array $context) |
| 273 | 274 | { |
@@ -6,9 +6,7 @@ |
||
| 6 | 6 | use Psr\Log\LogLevel; |
| 7 | 7 | use Symfony\Component\Console\Output\OutputInterface; |
| 8 | 8 | use Symfony\Component\Console\Output\ConsoleOutputInterface; |
| 9 | - |
|
| 10 | 9 | use Symfony\Component\Console\Style\SymfonyStyle; |
| 11 | -use Symfony\Component\Console\Input\StringInput; |
|
| 12 | 10 | |
| 13 | 11 | /** |
| 14 | 12 | * Replacement for Symfony\Component\Console\Logger\ConsoleLogger. |
@@ -296,7 +296,7 @@ |
||
| 296 | 296 | private static function interpolationKey($key) |
| 297 | 297 | { |
| 298 | 298 | if (ctype_alnum($key[0]) && ctype_alnum(substr($key, -1))) { |
| 299 | - return '{' . $key . '}'; |
|
| 299 | + return '{'.$key.'}'; |
|
| 300 | 300 | } |
| 301 | 301 | return $key; |
| 302 | 302 | } |