commit d121134f8aee1f678be21745562d542040c57519 Author: fago Date: Tue Jan 1 16:43:40 2013 +0100 Documenation fixes. diff --git a/core/lib/Drupal/Core/Entity/EntityNG.php b/core/lib/Drupal/Core/Entity/EntityNG.php index 427fe68..7df5b1e 100644 --- a/core/lib/Drupal/Core/Entity/EntityNG.php +++ b/core/lib/Drupal/Core/Entity/EntityNG.php @@ -30,7 +30,7 @@ class EntityNG extends Entity { * * @var string */ - protected $bundle = FALSE; + protected $bundle; /** * The plain data values of the contained fields. diff --git a/core/lib/Drupal/Core/TypedData/ContextAwareInterface.php b/core/lib/Drupal/Core/TypedData/ContextAwareInterface.php index 9c9e55e..d2b2d3b 100644 --- a/core/lib/Drupal/Core/TypedData/ContextAwareInterface.php +++ b/core/lib/Drupal/Core/TypedData/ContextAwareInterface.php @@ -60,7 +60,7 @@ public function getPropertyPath(); * This method is supposed to be called by the factory only. * * @param string $name - * (optional) The name of the property or the delta of the the list item, + * (optional) The name of the property or the delta of the list item, * or NULL if it is the root of a typed data tree. Defaults to NULL. * @param \Drupal\Core\TypedData\ContextAwareInterface $parent * (optional) The parent object of the data property, or NULL if it is the diff --git a/core/lib/Drupal/Core/TypedData/TypedDataFactory.php b/core/lib/Drupal/Core/TypedData/TypedDataFactory.php index ac94dbb..14b05d6 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataFactory.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataFactory.php @@ -28,11 +28,11 @@ class TypedDataFactory extends DefaultFactory { * The plugin configuration, i.e. the data definition. * @param string $name * (optional) If a property or list item is to be created, the name of the - * property or the delta of the the list item. Otherwise, leave it empty. + * property or the delta of the list item. * @param mixed $parent * (optional) If a property or list item is to be created, the parent typed * data object implementing either the ListInterface or the - * ComplexDataInterface. Otherwise, leave it empty. + * ComplexDataInterface. * * @return \Drupal\Core\TypedData\TypedDataInterface */ diff --git a/core/lib/Drupal/Core/TypedData/TypedDataManager.php b/core/lib/Drupal/Core/TypedData/TypedDataManager.php index a339fc5..91367ad 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataManager.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataManager.php @@ -38,11 +38,11 @@ public function __construct() { * The plugin configuration, i.e. the data definition. * @param string $name * (optional) If a property or list item is to be created, the name of the - * property or the delta of the the list item. Otherwise, leave it empty. + * property or the delta of the list item. * @param mixed $parent * (optional) If a property or list item is to be created, the parent typed * data object implementing either the ListInterface or the - * ComplexDataInterface. Otherwise, leave it empty. + * ComplexDataInterface. * * @return \Drupal\Core\TypedData\TypedDataInterface */ @@ -87,11 +87,11 @@ public function createInstance($plugin_id, array $configuration, $name = NULL, $ * data type format as documented for the data type classes. * @param string $name * (optional) If a property or list item is to be created, the name of the - * property or the delta of the the list item. Otherwise, leave it empty. + * property or the delta of the list item. * @param mixed $parent * (optional) If a property or list item is to be created, the parent typed * data object implementing either the ListInterface or the - * ComplexDataInterface. Otherwise, leave it empty. + * ComplexDataInterface. * * @return \Drupal\Core\TypedData\TypedDataInterface *