@@ -46,7 +46,7 @@ discard block |
||
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 |
||
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 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | { |
27 | 27 | $value->format(self::FORMAT); |
28 | 28 | |
29 | - $timeZoneInHours = (float)substr($value->getTimezone()->getName(), 0, 3); |
|
29 | + $timeZoneInHours = (float) substr($value->getTimezone()->getName(), 0, 3); |
|
30 | 30 | |
31 | 31 | $value->addHours($timeZoneInHours); |
32 | 32 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public function parseLiteral($valueNode, array $variables = null) |
52 | 52 | { |
53 | - if (! $valueNode instanceof StringValueNode) { |
|
53 | + if (!$valueNode instanceof StringValueNode) { |
|
54 | 54 | throw new Error('Query error: Can only parse strings got: ' . $valueNode->kind, [$valueNode]); |
55 | 55 | } |
56 | 56 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | $argument = $this->injectFilter( |
18 | 18 | $argument, |
19 | - function (Builder $builder, string $key, array $arguments): Builder { |
|
19 | + function(Builder $builder, string $key, array $arguments): Builder { |
|
20 | 20 | $value = $arguments[$key]; |
21 | 21 | $field = \preg_replace(sprintf('/%s$/', $this->getSuffix()), '', $key); |
22 | 22 |