Skip to content

Commit 4d82406

Browse files
authored
Stub ItemList::getIterator return type (#869)
Stub ItemList::getIterator return type
1 parent 91cb386 commit 4d82406

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stubs/Drupal/Core/TypedData/Plugin/DataType/ItemList.stub

+6
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,10 @@ use Drupal\Core\TypedData\TypedDataInterface;
1313
* @implements ListInterface<T>
1414
*/
1515
class ItemList extends TypedData implements \IteratorAggregate, ListInterface {
16+
17+
/**
18+
* @return \ArrayIterator<int, T>
19+
*/
20+
public function getIterator(): \ArrayIterator {}
21+
1622
}

0 commit comments

Comments
 (0)