Passed
Push — develop ( 9c223a...01a42f )
by Maarten
02:43
created
src/Schema/Scalars/DateTimeTz.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.