diff --git a/core/modules/field/lib/Drupal/field/FieldInfo.php b/core/modules/field/lib/Drupal/field/FieldInfo.php index 70bbca5..8603d9f 100644 --- a/core/modules/field/lib/Drupal/field/FieldInfo.php +++ b/core/modules/field/lib/Drupal/field/FieldInfo.php @@ -259,7 +259,7 @@ public function getFields() { * @param string $entity_type * (optional) The entity type. * - * @return \Drupal\field\FieldInstanceInterface[] + * @return array * If $entity_type is not set, all instances keyed by entity type and bundle * name. If $entity_type is set, all instances for that entity type, keyed * by bundle name. @@ -509,7 +509,7 @@ public function getBundleInstances($entity_type, $bundle) { * The field name for the instance. * * @return \Drupal\field\FieldInstanceInterface|NULL - * An associative array of instance data for the specific field and bundle; + * The instance definition for the specific field of the entity bundle; * NULL if the instance does not exist. */ function getInstance($entity_type, $bundle, $field_name) {