We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d97c76d commit b4fc179Copy full SHA for b4fc179
src/Common/ItemBag.php
@@ -78,7 +78,7 @@ public function add($item)
78
*
79
* @return \ArrayIterator An \ArrayIterator instance
80
*/
81
- public function getIterator()
+ public function getIterator(): \Traversable
82
{
83
return new \ArrayIterator($this->items);
84
}
@@ -88,7 +88,7 @@ public function getIterator()
88
89
* @return int The number of items
90
91
- public function count()
+ public function count(): int
92
93
return count($this->items);
94
0 commit comments