Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / config / Definition / Builder / NodeBuilder.php
index e780777a1e8375a0793953d6144d685aa3136861..1fac66fd3702f2d14730cf01b2c7553e7a725817 100644 (file)
@@ -21,9 +21,6 @@ class NodeBuilder implements NodeParentInterface
     protected $parent;
     protected $nodeMapping;
 
-    /**
-     * Constructor.
-     */
     public function __construct()
     {
         $this->nodeMapping = array(
@@ -40,8 +37,6 @@ class NodeBuilder implements NodeParentInterface
     /**
      * Set the parent node.
      *
-     * @param ParentNodeDefinitionInterface $parent The parent node
-     *
      * @return $this
      */
     public function setParent(ParentNodeDefinitionInterface $parent = null)
@@ -66,7 +61,7 @@ class NodeBuilder implements NodeParentInterface
     /**
      * Creates a child scalar node.
      *
-     * @param string $name the name of the node
+     * @param string $name The name of the node
      *
      * @return ScalarNodeDefinition The child node
      */
@@ -90,7 +85,7 @@ class NodeBuilder implements NodeParentInterface
     /**
      * Creates a child integer node.
      *
-     * @param string $name the name of the node
+     * @param string $name The name of the node
      *
      * @return IntegerNodeDefinition The child node
      */
@@ -102,7 +97,7 @@ class NodeBuilder implements NodeParentInterface
     /**
      * Creates a child float node.
      *
-     * @param string $name the name of the node
+     * @param string $name The name of the node
      *
      * @return FloatNodeDefinition The child node
      */
@@ -148,8 +143,8 @@ class NodeBuilder implements NodeParentInterface
     /**
      * Creates a child node.
      *
-     * @param string $name The name of the node
-     * @param string $type The type of the node
+     * @param string|null $name The name of the node
+     * @param string      $type The type of the node
      *
      * @return NodeDefinition The child node
      *
@@ -180,8 +175,6 @@ class NodeBuilder implements NodeParentInterface
      *         ->end()
      *     ;
      *
-     * @param NodeDefinition $node
-     *
      * @return $this
      */
     public function append(NodeDefinition $node)