diff --git a/src/DirectoryListing.php b/src/DirectoryListing.php index 7b1a1f589..a1e8d837f 100644 --- a/src/DirectoryListing.php +++ b/src/DirectoryListing.php @@ -10,7 +10,8 @@ use Traversable; /** - * @template T + * @template-covariant T of StorageAttributes + * @implements IteratorAggregate */ class DirectoryListing implements IteratorAggregate { @@ -40,7 +41,7 @@ public function filter(callable $filter): DirectoryListing } /** - * @template R + * @template R of StorageAttributes * * @param callable(T): R $mapper *