Skip to content

Commit eac7d22

Browse files
committed
Apply php-cs-fixer
Signed-off-by: Michal Čihař <[email protected]>
1 parent 6e1435c commit eac7d22

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Lexer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ public function parseComment()
548548
}
549549
// Include trailing \n as whitespace token
550550
if ($this->last < $this->len) {
551-
$this->last--;
551+
--$this->last;
552552
}
553553

554554
return new Token($token, Token::TYPE_COMMENT, Token::FLAG_COMMENT_BASH);
@@ -622,7 +622,7 @@ public function parseComment()
622622
}
623623
// Include trailing \n as whitespace token
624624
if ($this->last < $this->len) {
625-
$this->last--;
625+
--$this->last;
626626
}
627627

628628
return new Token($token, Token::TYPE_COMMENT, Token::FLAG_COMMENT_SQL);

src/Token.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ public function extract()
287287
$str = str_replace('\f', 'f', $str);
288288
$str = str_replace('\v', 'v', $str);
289289
$str = stripcslashes($str);
290+
290291
return $str;
291292
case self::TYPE_SYMBOL:
292293
$str = $this->token;

0 commit comments

Comments
 (0)