Passed
Push — master ( a835ff...c1d437 )
by Fabrice
05:08
created
src/ContextExceptionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * @param null|\Exception|\Throwable $previous
23 23
      * @param array                      $context
24 24
      */
25
-    public function __construct($message = '', $code = 0, $previous = null, array $context = []);
25
+    public function __construct($message = '', $code = 0, $previous = null, array $context = [ ]);
26 26
 
27 27
     /**
28 28
      * Get current exception context, useful for logging
Please login to merge, or discard this patch.
src/ContextException.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
29 29
      * @param null|\Exception|\Throwable $previous
30 30
      * @param array                      $context
31 31
      */
32
-    public function __construct($message = '', $code = 0, $previous = null, array $context = [])
32
+    public function __construct($message = '', $code = 0, $previous = null, array $context = [ ])
33 33
     {
34 34
         $this->context = $context;
35 35
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
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
     }
Please login to merge, or discard this patch.