@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - protected $context = []; |
|
22 | + protected $context = [ ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Instantiate an exception |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param null|\Exception $previous |
30 | 30 | * @param array $context |
31 | 31 | */ |
32 | - public function __construct($message = '', $code = 0, \Exception $previous = null, array $context = []) |
|
32 | + public function __construct($message = '', $code = 0, \Exception $previous = null, array $context = [ ]) |
|
33 | 33 | { |
34 | 34 | $this->context = $context; |
35 | 35 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | public function mergeContext(array $moreContext) |
69 | 69 | { |
70 | - $this->context = array_replace_recursive(isset($this->context) ? $this->context : [], $moreContext); |
|
70 | + $this->context = array_replace_recursive(isset($this->context) ? $this->context : [ ], $moreContext); |
|
71 | 71 | |
72 | 72 | return $this; |
73 | 73 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * @param null|\Exception $previous |
23 | 23 | * @param array $context |
24 | 24 | */ |
25 | - public function __construct($message = '', $code = 0, \Exception $previous = null, array $context = []); |
|
25 | + public function __construct($message = '', $code = 0, \Exception $previous = null, array $context = [ ]); |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Get current exception context, useful for logging |