@@ -85,7 +85,7 @@ public function prototype($type)
85
85
* If this function has been called and the node is not set during the finalization
86
86
* phase, it's default value will be derived from its children default values.
87
87
*
88
- * @return ArrayNodeDefinition
88
+ * @return $this
89
89
*/
90
90
public function addDefaultsIfNotSet ()
91
91
{
@@ -101,7 +101,7 @@ public function addDefaultsIfNotSet()
101
101
*
102
102
* This method is applicable to prototype nodes only.
103
103
*
104
- * @return ArrayNodeDefinition
104
+ * @return $this
105
105
*/
106
106
public function addDefaultChildrenIfNoneSet ($ children = null )
107
107
{
@@ -115,7 +115,7 @@ public function addDefaultChildrenIfNoneSet($children = null)
115
115
*
116
116
* This method is applicable to prototype nodes only.
117
117
*
118
- * @return ArrayNodeDefinition
118
+ * @return $this
119
119
*/
120
120
public function requiresAtLeastOneElement ()
121
121
{
@@ -129,7 +129,7 @@ public function requiresAtLeastOneElement()
129
129
*
130
130
* If used all keys have to be defined in the same configuration file.
131
131
*
132
- * @return ArrayNodeDefinition
132
+ * @return $this
133
133
*/
134
134
public function disallowNewKeysInSubsequentConfigs ()
135
135
{
@@ -144,7 +144,7 @@ public function disallowNewKeysInSubsequentConfigs()
144
144
* @param string $singular The key to remap
145
145
* @param string $plural The plural of the key for irregular plurals
146
146
*
147
- * @return ArrayNodeDefinition
147
+ * @return $this
148
148
*/
149
149
public function fixXmlConfig ($ singular , $ plural = null )
150
150
{
@@ -179,7 +179,7 @@ public function fixXmlConfig($singular, $plural = null)
179
179
* @param string $name The name of the key
180
180
* @param bool $removeKeyItem Whether or not the key item should be removed
181
181
*
182
- * @return ArrayNodeDefinition
182
+ * @return $this
183
183
*/
184
184
public function useAttributeAsKey ($ name , $ removeKeyItem = true )
185
185
{
@@ -194,7 +194,7 @@ public function useAttributeAsKey($name, $removeKeyItem = true)
194
194
*
195
195
* @param bool $allow
196
196
*
197
- * @return ArrayNodeDefinition
197
+ * @return $this
198
198
*/
199
199
public function canBeUnset ($ allow = true )
200
200
{
@@ -216,7 +216,7 @@ public function canBeUnset($allow = true)
216
216
* enableableArrayNode: {enabled: false, ...} # The config is disabled
217
217
* enableableArrayNode: false # The config is disabled
218
218
*
219
- * @return ArrayNodeDefinition
219
+ * @return $this
220
220
*/
221
221
public function canBeEnabled ()
222
222
{
@@ -246,7 +246,7 @@ public function canBeEnabled()
246
246
*
247
247
* By default, the section is enabled.
248
248
*
249
- * @return ArrayNodeDefinition
249
+ * @return $this
250
250
*/
251
251
public function canBeDisabled ()
252
252
{
@@ -266,7 +266,7 @@ public function canBeDisabled()
266
266
/**
267
267
* Disables the deep merging of the node.
268
268
*
269
- * @return ArrayNodeDefinition
269
+ * @return $this
270
270
*/
271
271
public function performNoDeepMerging ()
272
272
{
@@ -284,7 +284,7 @@ public function performNoDeepMerging()
284
284
* you want to send an entire configuration array through a special
285
285
* tree that processes only part of the array.
286
286
*
287
- * @return ArrayNodeDefinition
287
+ * @return $this
288
288
*/
289
289
public function ignoreExtraKeys ()
290
290
{
@@ -298,7 +298,7 @@ public function ignoreExtraKeys()
298
298
*
299
299
* @param bool $bool Whether to enable key normalization
300
300
*
301
- * @return ArrayNodeDefinition
301
+ * @return $this
302
302
*/
303
303
public function normalizeKeys ($ bool )
304
304
{
@@ -320,7 +320,7 @@ public function normalizeKeys($bool)
320
320
*
321
321
* @param NodeDefinition $node A NodeDefinition instance
322
322
*
323
- * @return ArrayNodeDefinition This node
323
+ * @return $this
324
324
*/
325
325
public function append (NodeDefinition $ node )
326
326
{
0 commit comments