mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-13 10:01:51 +01:00
Trait for the Collection > type hinting
This commit is contained in:
@@ -21,7 +21,7 @@ trait IteratorAggregateTrait
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getIterator()
|
||||
public function getIterator(): ArrayIterator
|
||||
{
|
||||
return new ArrayIterator($this->elements);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user