diff --git a/src/GenericCollection.php b/src/GenericCollection.php index d68e572..00720f6 100644 --- a/src/GenericCollection.php +++ b/src/GenericCollection.php @@ -6,10 +6,17 @@ namespace JTL\Generic; +use ArrayAccess; use Closure; +use Countable; +use IteratorAggregate; use Traversable; -class GenericCollection implements \IteratorAggregate, \ArrayAccess, \Countable +/** + * @template T + * @template-implements IteratorAggregate + */ +class GenericCollection implements IteratorAggregate, ArrayAccess, Countable { protected $itemList = []; protected $type;