Skip to content

Commit 7aa72da

Browse files
committed
Specify T for FieldableEntityInterface stub
1 parent a950fd5 commit 7aa72da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/Drupal/Core/Entity/FieldableEntityInterface.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ interface FieldableEntityInterface extends EntityInterface {
3131
public function toArray(): array;
3232

3333
/**
34-
* @return array<string, \Drupal\Core\Field\FieldItemListInterface>
34+
* @return array<string, \Drupal\Core\Field\FieldItemListInterface<\Drupal\Core\Field\FieldItemInterface>>
3535
*/
3636
public function getFields(bool $include_computed = TRUE): array;
3737

3838
/**
39-
* @return array<string, \Drupal\Core\Field\FieldItemListInterface>
39+
* @return array<string, \Drupal\Core\Field\FieldItemListInterface<\Drupal\Core\Field\FieldItemInterface>>
4040
*/
4141
public function getTranslatableFields(bool $include_computed = TRUE): array;
4242
}

0 commit comments

Comments
 (0)