diff --git a/stubs/Drupal/Core/Field/FieldItemListInterface.stub b/stubs/Drupal/Core/Field/FieldItemListInterface.stub index 473ae449..23dfb5a8 100644 --- a/stubs/Drupal/Core/Field/FieldItemListInterface.stub +++ b/stubs/Drupal/Core/Field/FieldItemListInterface.stub @@ -7,7 +7,7 @@ use Drupal\Core\TypedData\ListInterface; /** * @template T of FieldItemInterface - * @extends ListInterface + * @extends ListInterface * @property mixed $value */ interface FieldItemListInterface extends ListInterface { diff --git a/stubs/Drupal/Core/TypedData/ListInterface.stub b/stubs/Drupal/Core/TypedData/ListInterface.stub index c3859dc1..ef16da40 100644 --- a/stubs/Drupal/Core/TypedData/ListInterface.stub +++ b/stubs/Drupal/Core/TypedData/ListInterface.stub @@ -3,9 +3,10 @@ namespace Drupal\Core\TypedData; /** + * @template TKey of int * @template T of TypedDataInterface - * @extends TraversableTypedDataInterface - * @extends \ArrayAccess + * @extends TraversableTypedDataInterface + * @extends \ArrayAccess */ interface ListInterface extends TraversableTypedDataInterface, \ArrayAccess, \Countable { diff --git a/stubs/Drupal/Core/TypedData/Plugin/DataType/ItemList.stub b/stubs/Drupal/Core/TypedData/Plugin/DataType/ItemList.stub index a7834ff9..2ba9a9cc 100644 --- a/stubs/Drupal/Core/TypedData/Plugin/DataType/ItemList.stub +++ b/stubs/Drupal/Core/TypedData/Plugin/DataType/ItemList.stub @@ -10,7 +10,7 @@ use Drupal\Core\TypedData\TypedDataInterface; /** * @template T of TypedDataInterface * @implements \IteratorAggregate - * @implements ListInterface + * @implements ListInterface */ class ItemList extends TypedData implements \IteratorAggregate, ListInterface {