Passed
Push — master ( db17d2...5a4a00 )
by Ben
07:00
created
src/Fields/Types/Field.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,9 @@
 block discarded – undo
143 143
     {
144 144
         $value = call_user_func_array($this->valueResolver, [$model, $locale]);
145 145
 
146
-        if(is_null($value)) return $this->default;
146
+        if(is_null($value)) {
147
+            return $this->default;
148
+        }
147 149
 
148 150
         return $value;
149 151
     }
Please login to merge, or discard this patch.
src/Management/AbstractManager.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,9 @@
 block discarded – undo
178 178
     public function can($verb): bool
179 179
     {
180 180
         foreach (static::$bootedTraitMethods['can'] as $method) {
181
-            if(!method_exists($this, $method)) continue;
181
+            if(!method_exists($this, $method)) {
182
+                continue;
183
+            }
182 184
             $this->$method($verb);
183 185
         }
184 186
 
Please login to merge, or discard this patch.