Completed
Pull Request — master (#6)
by
unknown
01:25
created
src/Parser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $terms[] = $this->conjunction();
129 129
 
130 130
         $isNextTokenOr = true;
131
-        while($this->lexer->isNextToken(Tokens::T_SP) && $isNextTokenOr) {
131
+        while ($this->lexer->isNextToken(Tokens::T_SP) && $isNextTokenOr) {
132 132
             $nextToken = $this->lexer->glimpse();
133 133
             if ($this->isName('or', $nextToken)) {
134 134
                 $this->match(Tokens::T_SP);
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
         $factors[] = $this->factor();
157 157
 
158 158
         $isNextTokenAnd = true;
159
-        while($this->lexer->isNextToken(Tokens::T_SP) && $isNextTokenAnd) {
159
+        while ($this->lexer->isNextToken(Tokens::T_SP) && $isNextTokenAnd) {
160 160
             $nextToken = $this->lexer->glimpse();
161 161
             if ($this->isName('and', $nextToken)) {
162 162
                 $this->match(Tokens::T_SP);
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
             // Use gmmktime because the timestamp will always be given in UTC.
318 318
             $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
319 319
 
320
-            $value = new \DateTime('@'.$ts, new \DateTimeZone('UTC'));
320
+            $value = new \DateTime('@' . $ts, new \DateTimeZone('UTC'));
321 321
         }
322 322
 
323 323
         return $value;
Please login to merge, or discard this patch.