commit 879b5e9eb1443951279e1833998aaa3909eb6178 Author: Joel Pittet Date: Sun Sep 22 15:46:24 2013 +0200 docblock updates diff --git a/core/lib/Drupal/Core/Template/Attribute.php b/core/lib/Drupal/Core/Template/Attribute.php index 408ea1f..473b31a 100644 --- a/core/lib/Drupal/Core/Template/Attribute.php +++ b/core/lib/Drupal/Core/Template/Attribute.php @@ -68,14 +68,17 @@ public function offsetSet($name, $value) { $this->storage[$name] = $this->createAttributeValue($name, $value); } -/** - * Creates the different types of attribute values. - * @param string $name - * The attribute name. - * @param mixed $value - * The attribute value. - * @return object - */ + /** + * Creates the different types of attribute values. + * + * @param string $name + * The attribute name. + * @param mixed $value + * The attribute value. + * + * @return \Drupal\Core\Template\AttributeValueBase + * An AttributeValueBase representation of the attribute's value. + */ protected function createAttributeValue($name, $value) { if (is_array($value)) { $value = new AttributeArray($name, $value);