@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * Logs with an arbitrary level. |
| 60 | 60 | * |
| 61 | 61 | * @param mixed $level |
| 62 | - * @param mixed $message |
|
| 62 | + * @param string $message |
|
| 63 | 63 | * @param mixed[] $context |
| 64 | 64 | * @return null |
| 65 | 65 | */ |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function format($level, $message, array $context = array()) |
| 14 | 14 | { |
| 15 | 15 | if (is_string($message)) { |
| 16 | - return $message . ' ' . json_encode($context); |
|
| 16 | + return $message.' '.json_encode($context); |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | // Cannot append encoded context without causing an error, or blocking log4php object renderers. |