This repository was archived by the owner on Oct 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 88
99/**
1010 * @template T of object
11- * @extends \IteratorAggregate<T>
11+ * @implements \IteratorAggregate<T>
12+ * @implements \ArrayAccess<mixed, T>
1213 */
1314class Collection implements \ArrayAccess, \Countable, \IteratorAggregate
1415{
1516 /**
1617 * @param T[] $items
1718 * @param class-string<T>|null $itemType
18- *
19- * @throws Assert\AssertionFailedException
2019 */
2120 final public function __construct (
2221 private readonly array $ items = [],
@@ -31,10 +30,8 @@ final public function __construct(
3130 * Add one or more items to the collection. It **does not** modify the
3231 * current collection, but returns a new one.
3332 *
34- * @param mixed $item One or more items to add to the collection.
33+ * @param mixed $item One or more items to add to the collection.
3534 * @return static
36- *
37- * @throws Assert\AssertionFailedException
3835 */
3936 public function add (mixed $ item ): static
4037 {
Original file line number Diff line number Diff line change 1313
1414/**
1515 * @template T of object
16- * @extends PaginatorInterface<T>
16+ * @implements PaginatorInterface<T>
17+ * @implements ArrayAccess<mixed, T>
1718 */
1819class Paginator implements PaginatorInterface, ArrayAccess
1920{
You can’t perform that action at this time.
0 commit comments