| @@ -47,7 +47,7 @@ discard block | ||
| 47 | 47 | $ch = $this->source[$this->pos]; | 
| 48 | 48 |              if ($ch === ' ' || $ch === "\t") { | 
| 49 | 49 | $this->pos++; | 
| 50 | -            } elseif($ch === '#') { | |
| 50 | +            } elseif ($ch === '#') { | |
| 51 | 51 | $this->pos++; | 
| 52 | 52 | while ( | 
| 53 | 53 | $this->pos < strlen($this->source) && | 
| @@ -240,10 +240,10 @@ discard block | ||
| 240 | 240 | |
| 241 | 241 | $value = substr($this->source, $start, $this->pos - $start); | 
| 242 | 242 | |
| 243 | -        if(strpos($value, '.') === false){ | |
| 244 | - $value = (int) $value; | |
| 243 | +        if (strpos($value, '.') === false) { | |
| 244 | + $value = (int)$value; | |
| 245 | 245 |          } else { | 
| 246 | - $value = (float) $value; | |
| 246 | + $value = (float)$value; | |
| 247 | 247 | } | 
| 248 | 248 | |
| 249 | 249 | return new Token(Token::TYPE_NUMBER, $value); | 
| @@ -276,7 +276,7 @@ discard block | ||
| 276 | 276 | |
| 277 | 277 | protected function createError($message) | 
| 278 | 278 |      { | 
| 279 | -        return new SyntaxErrorException($message . " ({$this->line}:{$this->getColumn()})"); | |
| 279 | +        return new SyntaxErrorException($message." ({$this->line}:{$this->getColumn()})"); | |
| 280 | 280 | } | 
| 281 | 281 | |
| 282 | 282 | protected function getColumn() |