Skip to content

Commit

Permalink
Add change log entry for #363
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Dec 29, 2021
1 parent 403e38d commit 4d8eaf3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [5.6.0] - YYYY-MM-DD

* Add missing return types annotations
* Improve the WITH statements parser (#363)

## [5.5.0] - 2021-12-08

Expand Down
1 change: 0 additions & 1 deletion src/Components/AlterOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ public static function parse(Parser $parser, TokensList $list, array $options =

$state = 2;
} elseif ($state === 2) {
$arrayKey = '';
if (is_string($token->value) || is_numeric($token->value)) {
$arrayKey = $token->value;
} else {
Expand Down
2 changes: 0 additions & 2 deletions src/Statements/WithStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ public function parse(Parser $parser, TokensList $list)
if ($state !== 5) {
/**
* Token parsed at this moment.
*
* @var Token
*/
$token = $list->tokens[$list->idx];

Expand Down

0 comments on commit 4d8eaf3

Please sign in to comment.