diff --git a/core/lib/Drupal/Core/TypedData/Type/TypedData.php b/core/lib/Drupal/Core/TypedData/Type/TypedData.php index 6afc860..d30ca8e 100644 --- a/core/lib/Drupal/Core/TypedData/Type/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/Type/TypedData.php @@ -25,7 +25,12 @@ protected $definition; /** - * Implements TypedDataInterface::__construct(). + * Creates a typed data object given its definition. + * + * @param array $definition + * The data definition. + * + * @see Drupal\Core\TypedData\TypedDataManager::create() */ public function __construct(array $definition) { $this->definition = $definition; diff --git a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php index 680b92e..1a8ffe7 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php @@ -15,16 +15,6 @@ interface TypedDataInterface { /** - * Creates a typed data object given its definition. - * - * @param array $definition - * The data definition. - * - * @see Drupal\Core\TypedData\TypedDataManager::create() - */ - public function __construct(array $definition); - - /** * Gets the data type. * * @return string