X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FTypedData%2FTypedData.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FTypedData%2FTypedData.php;h=bc1702a70812f4e9dc624b1e49ff1009c3adb09b;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=243d48a92f6a19af4547e8a717a1836ed2a2af97;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/TypedData/TypedData.php b/web/core/lib/Drupal/Core/TypedData/TypedData.php index 243d48a92..bc1702a70 100644 --- a/web/core/lib/Drupal/Core/TypedData/TypedData.php +++ b/web/core/lib/Drupal/Core/TypedData/TypedData.php @@ -59,12 +59,8 @@ abstract class TypedData implements TypedDataInterface, PluginInspectionInterfac * root of a typed data tree. Defaults to NULL. * * @see \Drupal\Core\TypedData\TypedDataManager::create() - * - * @todo When \Drupal\Core\Config\TypedConfigManager has been fixed to use - * class-based definitions, type-hint $definition to - * DataDefinitionInterface. https://www.drupal.org/node/1928868 */ - public function __construct($definition, $name = NULL, TypedDataInterface $parent = NULL) { + public function __construct(DataDefinitionInterface $definition, $name = NULL, TypedDataInterface $parent = NULL) { $this->definition = $definition; $this->parent = $parent; $this->name = $name;