Failed Conditions
Pull Request — 4.0 (#3667)
by k-yamamura
05:53
created
src/Eccube/Form/Validator/EmailValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             throw new UnexpectedTypeException($value, 'string');
40 40
         }
41 41
 
42
-        $value = (string)$value;
42
+        $value = (string) $value;
43 43
 
44 44
         if (null === $constraint->strict) {
45 45
             $constraint->strict = false;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             }
82 82
         }
83 83
 
84
-        $host = (string)substr($value, strrpos($value, '@') + 1);
84
+        $host = (string) substr($value, strrpos($value, '@') + 1);
85 85
 
86 86
         // Check for host DNS resource records
87 87
         if ($constraint->checkMX) {
Please login to merge, or discard this patch.