From dad20abbca22e7866df60b681545331560f4e44d Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 8 Dec 2023 21:03:17 +0100 Subject: [PATCH] PassedParameters: fix type in docs Depending on whether named parameters are used or not, the keys for the return array from `getParameters()` can be a mix of integers and strings. --- PHPCSUtils/Utils/PassedParameters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCSUtils/Utils/PassedParameters.php b/PHPCSUtils/Utils/PassedParameters.php index 35f1f391..7eccf49d 100644 --- a/PHPCSUtils/Utils/PassedParameters.php +++ b/PHPCSUtils/Utils/PassedParameters.php @@ -170,7 +170,7 @@ public static function hasParameters(File $phpcsFile, $stackPtr, $isShortArray = * Efficiency tweak for when this has already been established, * Use with EXTREME care. * - * @return array> + * @return array> * A multi-dimentional array with information on each parameter/array item. * The information gathered about each parameter/array item is in the following format: * ```php