File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/Symfony/Component/Config/Definition Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ abstract class BaseNode implements NodeInterface
3333 protected $ attributes = array ();
3434
3535 /**
36- * @param string $name The name of the node
37- * @param NodeInterface $parent The parent of this node
36+ * @param string|null $name The name of the node
37+ * @param NodeInterface|null $parent The parent of this node
3838 *
3939 * @throws \InvalidArgumentException if the name contains a period
4040 */
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ public function end()
143143 /**
144144 * Creates a child node.
145145 *
146- * @param string $name The name of the node
147- * @param string $type The type of the node
146+ * @param string|null $name The name of the node
147+ * @param string $type The type of the node
148148 *
149149 * @return NodeDefinition The child node
150150 *
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ abstract class NodeDefinition implements NodeParentInterface
3636 protected $ attributes = array ();
3737
3838 /**
39- * @param string $name The name of the node
39+ * @param string|null $name The name of the node
4040 * @param NodeParentInterface|null $parent The parent
4141 */
4242 public function __construct ($ name , NodeParentInterface $ parent = null )
You can’t perform that action at this time.
0 commit comments