Skip to content

Commit 817bbbc

Browse files
authored
fix a syntax error in the ArrayFirstLastRector rule documentation (#7613)
1 parent a458869 commit 817bbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getRuleDefinition(): RuleDefinition
4242
,
4343
<<<'CODE_SAMPLE'
4444
echo array_first($array);
45-
echo array_last($array;
45+
echo array_last($array);
4646
CODE_SAMPLE
4747
),
4848
]

0 commit comments

Comments
 (0)