Passed
Branch master (f4def3)
by mahdi
05:44 queued 03:28
created
Category
src/Traits/HasStamps.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,13 +46,13 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $stamps = [];
48 48
 
49
-        if(!empty($this->stamps)) {
49
+        if (!empty($this->stamps)) {
50 50
             /*
51 51
              * Change structure to [stampName => fieldName]
52 52
              * if stampName is numeric, we use fieldName as stampName.
53 53
              */
54 54
             foreach ($this->stamps as $key => $stamp) {
55
-                if(is_numeric($key)) {
55
+                if (is_numeric($key)) {
56 56
                     $stamps[$stamp] = $stamp;
57 57
                 } else {
58 58
                     $stamps[$key] = $stamp;
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         foreach ($stampKeys as $key) {
177 177
             if ($method == $key) {
178 178
                 $scope = 'stamped';
179
-            } else if($method == 'un'.strtolower($key)) {
179
+            } else if ($method == 'un'.strtolower($key)) {
180 180
                 $scope = 'unstamped';
181 181
             }
182 182
         }
Please login to merge, or discard this patch.