From 8c6d7e525e6458becd047134077b040b4014db4a Mon Sep 17 00:00:00 2001 From: Christian Berkman Date: Wed, 12 Jun 2024 08:26:56 +0200 Subject: [PATCH] FileCollection::retainMultiplePatterns fix docblock param Signed-off-by: Christian Berkman --- system/Files/FileCollection.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/Files/FileCollection.php b/system/Files/FileCollection.php index 5faa77fc194a..5b8147480e3b 100644 --- a/system/Files/FileCollection.php +++ b/system/Files/FileCollection.php @@ -27,7 +27,7 @@ * filtering, and ordering them. * * @template-implements IteratorAggregate - * @see \CodeIgniter\Files\FileCollectionTest + * @see FileCollectionTest */ class FileCollection implements Countable, IteratorAggregate { @@ -344,8 +344,8 @@ public function retainPattern(string $pattern, ?string $scope = null) * Keeps only the files from the list that match multiple patterns * (within the optional scope). * - * @param array $patterns Array of regex or pseudo-regex strings - * @param string|null $scope A directory to limit the scope + * @param list $patterns Array of regex or pseudo-regex strings + * @param string|null $scope A directory to limit the scope * * @return $this */