diff options
-rw-r--r-- | src/Lexer.php | 1 | ||||
-rw-r--r-- | src/Utils/Formatter.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Lexer.php b/src/Lexer.php index 8222013..c484dda 100644 --- a/src/Lexer.php +++ b/src/Lexer.php @@ -572,6 +572,7 @@ class Lexer ) { $token .= $this->str[$this->last]; } + return new Token($token, Token::TYPE_COMMENT, Token::FLAG_COMMENT_BASH); } diff --git a/src/Utils/Formatter.php b/src/Utils/Formatter.php index b488a6a..06cc707 100644 --- a/src/Utils/Formatter.php +++ b/src/Utils/Formatter.php @@ -334,7 +334,7 @@ class Formatter /** * Token parsed at this moment. * - * @var Token $curr + * @var Token */ $curr = $list->tokens[$list->idx]; @@ -352,7 +352,7 @@ class Formatter /** * Previous Token. * - * @var Token $prev + * @var Token */ if ($prev !== null) { // Checking if a new clause started. |