Skip to content

Commit e016580

Browse files
jacktonkinmglaman
authored andcommitted
$target_id can be NULL
1 parent 3171a52 commit e016580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use Drupal\Core\TypedData\OptionsProviderInterface;
99
/**
1010
* @template T of \Drupal\Core\Entity\EntityInterface
1111
* @property ?T $entity
12-
* @property string|integer $target_id
12+
* @property string|int|null $target_id
1313
*/
1414
class EntityReferenceItem extends FieldItemBase implements OptionsProviderInterface, PreconfiguredFieldUiOptionsInterface {
1515
}

0 commit comments

Comments
 (0)