diff --git a/core/lib/Drupal/Core/TypedData/TypedData.php b/core/lib/Drupal/Core/TypedData/TypedData.php index a67201d..3216d21 100644 --- a/core/lib/Drupal/Core/TypedData/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/TypedData.php @@ -39,7 +39,7 @@ /** * The parent typed data object. * - * @var \Drupal\Core\TypedData\TypedDataInterface + * @var \Drupal\Core\TypedData\TraversableTypedDataInterface|null */ protected $parent; @@ -153,7 +153,7 @@ public function applyDefaultValue($notify = TRUE) { /** * {@inheritdoc} */ - public function setContext($name = NULL, TypedDataInterface $parent = NULL) { + public function setContext($name = NULL, TraversableTypedDataInterface $parent = NULL) { $this->parent = $parent; $this->name = $name; }