Skip to content

Commit

Permalink
Merge pull request #456 from mglaman/gh455
Browse files Browse the repository at this point in the history
Specify T for FieldableEntityInterface stub
  • Loading branch information
mglaman authored Jul 14, 2022
2 parents 23defac + 7aa72da commit 64ff852
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/Drupal/Core/Entity/FieldableEntityInterface.stub
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ interface FieldableEntityInterface extends EntityInterface {
public function toArray(): array;

/**
* @return array<string, \Drupal\Core\Field\FieldItemListInterface>
* @return array<string, \Drupal\Core\Field\FieldItemListInterface<\Drupal\Core\Field\FieldItemInterface>>
*/
public function getFields(bool $include_computed = TRUE): array;

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

0 comments on commit 64ff852

Please sign in to comment.