Skip to content

Commit

Permalink
FileCollection::retainMultiplePatterns fix docblock param
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berkman <[email protected]>
  • Loading branch information
christianberkman committed Jun 12, 2024
1 parent 0206e99 commit 8c6d7e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system/Files/FileCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* filtering, and ordering them.
*
* @template-implements IteratorAggregate<int, File>
* @see \CodeIgniter\Files\FileCollectionTest
* @see FileCollectionTest
*/
class FileCollection implements Countable, IteratorAggregate
{
Expand Down Expand Up @@ -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<string> $patterns Array of regex or pseudo-regex strings
* @param string|null $scope A directory to limit the scope
* @param list<string> $patterns Array of regex or pseudo-regex strings
* @param string|null $scope A directory to limit the scope
*
* @return $this
*/
Expand Down

0 comments on commit 8c6d7e5

Please sign in to comment.