diff --git a/rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php b/rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php index 00a41f30444..ccdea2cb97d 100644 --- a/rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php +++ b/rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php @@ -42,7 +42,7 @@ public function getRuleDefinition(): RuleDefinition , <<<'CODE_SAMPLE' echo array_first($array); -echo array_last($array; +echo array_last($array); CODE_SAMPLE ), ]