Skip to content

Commit 9186b5f

Browse files
shmaxondrejmirtes
authored andcommitted
lint
1 parent 8a1b0c7 commit 9186b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser/TypeParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private function parseArrayShape(TokenIterator $tokens, Ast\Type\TypeNode $type)
227227
$tokens->tryConsumeTokenType(Lexer::TOKEN_PHPDOC_EOL);
228228
while ($tokens->tryConsumeTokenType(Lexer::TOKEN_COMMA)) {
229229
$tokens->tryConsumeTokenType(Lexer::TOKEN_PHPDOC_EOL);
230-
if($tokens->tryConsumeTokenType(Lexer::TOKEN_CLOSE_CURLY_BRACKET)) {
230+
if ($tokens->tryConsumeTokenType(Lexer::TOKEN_CLOSE_CURLY_BRACKET)) {
231231
// trailing comma case
232232
return new Ast\Type\ArrayShapeNode($items);
233233
}

0 commit comments

Comments
 (0)