Skip to content

Commit 7f09e10

Browse files
author
fureev
committed
fix
1 parent d8366b0 commit 7f09e10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Structures/Collections/HashCollection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
/**
1616
* @template T
17+
* @template TO of object
1718
*/
1819
class HashCollection implements ArrayAccess, Countable
1920
{
@@ -75,7 +76,7 @@ public function set(string $key, mixed $value): void
7576
/**
7677
* Adds an element at the end of the collection.
7778
*
78-
* @param T $element The element to add.
79+
* @phpstan-param TO $element The element to add.
7980
*/
8081
public function add(object $element): bool
8182
{

0 commit comments

Comments
 (0)