@@ -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 |