Passed
Pull Request — master (#17)
by Dedipyaman
03:18
created
src/Result/Failure.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     public function getFirstError() : Error
38 38
     {
39
-        return $this->errors[0];
39
+        return $this->errors[ 0 ];
40 40
 
41 41
     }
42 42
 }
43 43
\ No newline at end of file
Please login to merge, or discard this patch.
src/Result/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 abstract class Result
8 8
 {
9 9
     private $valid;
10
-    protected $errors = [];
10
+    protected $errors = [ ];
11 11
 
12 12
     public function __construct(bool $valid, Error... $errors)
13 13
     {
Please login to merge, or discard this patch.