Skip to content

Commit 4d8eaf3

Browse files
committed
Add change log entry for #363
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 403e38d commit 4d8eaf3

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [5.6.0] - YYYY-MM-DD
44

55
* Add missing return types annotations
6+
* Improve the WITH statements parser (#363)
67

78
## [5.5.0] - 2021-12-08
89

‎src/Components/AlterOperation.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ public static function parse(Parser $parser, TokensList $list, array $options =
309309

310310
$state = 2;
311311
} elseif ($state === 2) {
312-
$arrayKey = '';
313312
if (is_string($token->value) || is_numeric($token->value)) {
314313
$arrayKey = $token->value;
315314
} else {

‎src/Statements/WithStatement.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ public function parse(Parser $parser, TokensList $list)
265265
if ($state !== 5) {
266266
/**
267267
* Token parsed at this moment.
268-
*
269-
* @var Token
270268
*/
271269
$token = $list->tokens[$list->idx];
272270

0 commit comments

Comments
 (0)