Skip to content

Commit eb11804

Browse files
committed
Make CookieStore compatible with IteratorAggregate::getIterator
1 parent d1ed808 commit eb11804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Cookie/CookieStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public function count(): int
207207
*
208208
* @return Traversable<string, Cookie>
209209
*/
210-
public function getIterator()
210+
public function getIterator(): Traversable
211211
{
212212
return new ArrayIterator($this->cookies);
213213
}

0 commit comments

Comments
 (0)