Passed
Push — master ( 5ae334...f78a01 )
by Ion
04:28
created
app/Providers/AppServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,14 +20,14 @@
 block discarded – undo
20 20
         /**
21 21
          * Validate alpha spaces
22 22
          */
23
-        Validator::extend('name', function ($attribute, $value) {
23
+        Validator::extend('name', function($attribute, $value) {
24 24
             return preg_match('/^[\pL\s\']+$/u', $value);
25 25
         });
26 26
 
27 27
         /**
28 28
          * Validate phone number
29 29
          */
30
-        Validator::extend('phone', function ($attribute, $value) {
30
+        Validator::extend('phone', function($attribute, $value) {
31 31
             $conditions = [];
32 32
             $conditions[] = strlen($value) >= 10;
33 33
             $conditions[] = strlen($value) <= 16;
Please login to merge, or discard this patch.