@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * @implements \Psr\Log\LoggerAwareInterface |
| 22 | 22 | * @implements \Psr\Log\LoggerInterface |
| 23 | 23 | */ |
| 24 | -trait LogTrait{ |
|
| 24 | +trait LogTrait { |
|
| 25 | 25 | use LoggerTrait; |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @return void |
| 38 | 38 | */ |
| 39 | - public function setLogger(LoggerInterface $logger){ |
|
| 39 | + public function setLogger(LoggerInterface $logger) { |
|
| 40 | 40 | $this->log = $logger; |
| 41 | 41 | } |
| 42 | 42 | |
@@ -49,9 +49,9 @@ discard block |
||
| 49 | 49 | * |
| 50 | 50 | * @return void |
| 51 | 51 | */ |
| 52 | - public function log($level, $message, array $context = []){ |
|
| 52 | + public function log($level, $message, array $context = []) { |
|
| 53 | 53 | |
| 54 | - if($this->log instanceof LoggerInterface){ |
|
| 54 | + if ($this->log instanceof LoggerInterface) { |
|
| 55 | 55 | $this->log->log($level, $message, $context); |
| 56 | 56 | } |
| 57 | 57 | |