From 550daee94c06c2e90e27c12f889009996758d065 Mon Sep 17 00:00:00 2001 From: Benoit Esnard Date: Wed, 5 Nov 2025 12:14:47 +0100 Subject: [PATCH] fix a syntax error in the ArrayFirstLastRector rule documentation --- rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ), ]