Skip to content

Commit b4de9ce

Browse files
committed
Fixed AccountCollection index type
1 parent 0406b9b commit b4de9ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Account/AccountCollection.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use h4kuna\Fio\Exceptions;
66

77
/**
8-
* @implements \IteratorAggregate<int, FioAccount>
8+
* @implements \IteratorAggregate<string, FioAccount>
99
*/
1010
class AccountCollection implements \Countable, \IteratorAggregate
1111
{
@@ -61,7 +61,7 @@ public function count(): int
6161

6262

6363
/**
64-
* @return \ArrayIterator<int, FioAccount>
64+
* @return \ArrayIterator<string, FioAccount>
6565
*/
6666
public function getIterator(): \ArrayIterator
6767
{

0 commit comments

Comments
 (0)