Passed
Push — master ( 64ec9f...625618 )
by Arthur
03:13 queued 10s
created
src/Concerns/ResolveCasting.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,9 @@
 block discarded – undo
20 20
 
21 21
     private function processCasting(Attribute $attribute, $value)
22 22
     {
23
-        if ($attribute->isNullable() && $value === null)
24
-            return $value;
23
+        if ($attribute->isNullable() && $value === null) {
24
+                    return $value;
25
+        }
25 26
 
26 27
         if (($castFunction = $attribute->getCast()) !== null && is_callable($castFunction)) {
27 28
             return $castFunction($value);
Please login to merge, or discard this patch.