Completed
Push — develop ( b490de...9c223a )
by Maarten
02:17
created
src/Schema/Scalars/Email.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function parseValue($value)
48 48
     {
49
-        if (! $this->emailValidator->isValid($value, $this->validation)) {
49
+        if (!$this->emailValidator->isValid($value, $this->validation)) {
50 50
             throw new Error(sprintf('Input error: Expected valid e-mail, got: [%s]', $value));
51 51
         }
52 52
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function parseLiteral($valueNode, array $variables = null)
60 60
     {
61
-        if (! $valueNode instanceof StringValueNode) {
61
+        if (!$valueNode instanceof StringValueNode) {
62 62
             throw new Error('Query error: Can only parse strings got: ' . $valueNode->kind, [$valueNode]);
63 63
         }
64 64
 
Please login to merge, or discard this patch.