Passed
Push — master ( 01b5e4...461bf6 )
by Sebastian
06:16 queued 03:51
created
src/OperationResult.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     * @param string $message Should not contain a date, just the system specific info.
84 84
     * @return OperationResult
85 85
     */
86
-    public function makeSuccess(string $message, int $code=0) : OperationResult
86
+    public function makeSuccess(string $message, int $code = 0) : OperationResult
87 87
     {
88 88
         return $this->setMessage($message, $code, true);
89 89
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     * @param string $message Should be as detailed as possible.
95 95
     * @return OperationResult
96 96
     */
97
-    public function makeError(string $message, int $code=0) : OperationResult
97
+    public function makeError(string $message, int $code = 0) : OperationResult
98 98
     {
99 99
         return $this->setMessage($message, $code, false);
100 100
     }
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     
141 141
     protected function getMessage(bool $valid) : string
142 142
     {
143
-        if($this->valid === $valid) 
143
+        if ($this->valid === $valid) 
144 144
         {
145 145
             return $this->message;
146 146
         }
Please login to merge, or discard this patch.