Completed
Pull Request — develop (#10)
by
unknown
03:30 queued 51s
created
src/Directives/BaseDirective.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $argument = $this->injectFilter(
18 18
             $argument,
19 19
             [
20
-                'resolve' => function (Builder $builder, string $key, array $arguments): Builder {
20
+                'resolve' => function(Builder $builder, string $key, array $arguments): Builder {
21 21
                     $value = $arguments[$key];
22 22
 
23 23
                     $field = \preg_replace(sprintf('/%s$/', $this->getSuffix()), '', $key);
Please login to merge, or discard this patch.
src/Schema/Scalars/Date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     public function parseLiteral($valueNode, array $variables = null)
47 47
     {
48
-        if (! $valueNode instanceof StringValueNode) {
48
+        if (!$valueNode instanceof StringValueNode) {
49 49
             throw new Error('Query error: Can only parse strings got: ' . $valueNode->kind, [$valueNode]);
50 50
         }
51 51
 
Please login to merge, or discard this patch.
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.