Completed
Pull Request — master (#5493)
by
unknown
01:01
created
src/Form/Field/JalaliDate.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,9 @@
 block discarded – undo
34 34
     {
35 35
         $tok = preg_split('/(\-|\/)/', $value, 3);
36 36
 
37
-        if (count($tok) < 3) return null;
37
+        if (count($tok) < 3) {
38
+            return null;
39
+        }
38 40
 
39 41
         return (new Jalalian($tok[0], $tok[1], $tok[2]))->toCarbon();
40 42
     }
Please login to merge, or discard this patch.