We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0406b9b commit be9aa67Copy full SHA for be9aa67
src/Account/AccountCollection.php
@@ -5,11 +5,11 @@
5
use h4kuna\Fio\Exceptions;
6
7
/**
8
- * @implements \IteratorAggregate<int, FioAccount>
+ * @implements \IteratorAggregate<string, FioAccount>
9
*/
10
class AccountCollection implements \Countable, \IteratorAggregate
11
{
12
- /** @var array<FioAccount> */
+ /** @var array<string, FioAccount> */
13
private array $accounts = [];
14
15
@@ -61,7 +61,7 @@ public function count(): int
61
62
63
64
- * @return \ArrayIterator<int, FioAccount>
+ * @return \ArrayIterator<string, FioAccount>
65
66
public function getIterator(): \ArrayIterator
67
0 commit comments