From 3c0fa20c6c4635fb7c14fa85a459eca0be1c6de0 Mon Sep 17 00:00:00 2001 From: Benoit Esnard Date: Wed, 5 Nov 2025 12:03:04 +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 c28241ba9329..80f223954d04 100644 --- a/rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php +++ b/rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php @@ -33,7 +33,7 @@ public function getRuleDefinition(): RuleDefinition CODE_SAMPLE , <<<'CODE_SAMPLE' echo array_first($array); -echo array_last($array; +echo array_last($array); CODE_SAMPLE )]); }