@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | { |
| 69 | 69 | parent::init(); |
| 70 | 70 | if ($this->target !== null && !$this->target instanceof Target) { |
| 71 | - throw new InvalidConfigException('`' . get_class($this) . '::target` should be an instance of `' . Target::className() . '`.'); |
|
| 71 | + throw new InvalidConfigException('`'.get_class($this).'::target` should be an instance of `'.Target::className().'`.'); |
|
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | return null; |
| 171 | 171 | } |
| 172 | 172 | |
| 173 | - $traces = array_map(function ($trace) { |
|
| 173 | + $traces = array_map(function($trace) { |
|
| 174 | 174 | return "in {$trace['file']}:{$trace['line']}"; |
| 175 | 175 | }, $this->message[4]); |
| 176 | 176 | return implode("\n", $traces); |