File tree 3 files changed +5
-5
lines changed
src/Symfony/Component/Config/Definition
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
33
33
protected $ attributes = array ();
34
34
35
35
/**
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
38
38
*
39
39
* @throws \InvalidArgumentException if the name contains a period
40
40
*/
Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ public function end()
143
143
/**
144
144
* Creates a child node.
145
145
*
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
148
148
*
149
149
* @return NodeDefinition The child node
150
150
*
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ abstract class NodeDefinition implements NodeParentInterface
36
36
protected $ attributes = array ();
37
37
38
38
/**
39
- * @param string $name The name of the node
39
+ * @param string|null $name The name of the node
40
40
* @param NodeParentInterface|null $parent The parent
41
41
*/
42
42
public function __construct ($ name , NodeParentInterface $ parent = null )
You can’t perform that action at this time.
0 commit comments