@@ -86,7 +86,7 @@ public function prototype($type)
8686 * If this function has been called and the node is not set during the finalization
8787 * phase, it's default value will be derived from its children default values.
8888 *
89- * @return ArrayNodeDefinition
89+ * @return $this
9090 */
9191 public function addDefaultsIfNotSet ()
9292 {
@@ -102,7 +102,7 @@ public function addDefaultsIfNotSet()
102102 *
103103 * This method is applicable to prototype nodes only.
104104 *
105- * @return ArrayNodeDefinition
105+ * @return $this
106106 */
107107 public function addDefaultChildrenIfNoneSet ($ children = null )
108108 {
@@ -116,7 +116,7 @@ public function addDefaultChildrenIfNoneSet($children = null)
116116 *
117117 * This method is applicable to prototype nodes only.
118118 *
119- * @return ArrayNodeDefinition
119+ * @return $this
120120 */
121121 public function requiresAtLeastOneElement ()
122122 {
@@ -130,7 +130,7 @@ public function requiresAtLeastOneElement()
130130 *
131131 * If used all keys have to be defined in the same configuration file.
132132 *
133- * @return ArrayNodeDefinition
133+ * @return $this
134134 */
135135 public function disallowNewKeysInSubsequentConfigs ()
136136 {
@@ -145,7 +145,7 @@ public function disallowNewKeysInSubsequentConfigs()
145145 * @param string $singular The key to remap
146146 * @param string $plural The plural of the key for irregular plurals
147147 *
148- * @return ArrayNodeDefinition
148+ * @return $this
149149 */
150150 public function fixXmlConfig ($ singular , $ plural = null )
151151 {
@@ -180,7 +180,7 @@ public function fixXmlConfig($singular, $plural = null)
180180 * @param string $name The name of the key
181181 * @param bool $removeKeyItem Whether or not the key item should be removed
182182 *
183- * @return ArrayNodeDefinition
183+ * @return $this
184184 */
185185 public function useAttributeAsKey ($ name , $ removeKeyItem = true )
186186 {
@@ -195,7 +195,7 @@ public function useAttributeAsKey($name, $removeKeyItem = true)
195195 *
196196 * @param bool $allow
197197 *
198- * @return ArrayNodeDefinition
198+ * @return $this
199199 */
200200 public function canBeUnset ($ allow = true )
201201 {
@@ -217,7 +217,7 @@ public function canBeUnset($allow = true)
217217 * enableableArrayNode: {enabled: false, ...} # The config is disabled
218218 * enableableArrayNode: false # The config is disabled
219219 *
220- * @return ArrayNodeDefinition
220+ * @return $this
221221 */
222222 public function canBeEnabled ()
223223 {
@@ -247,7 +247,7 @@ public function canBeEnabled()
247247 *
248248 * By default, the section is enabled.
249249 *
250- * @return ArrayNodeDefinition
250+ * @return $this
251251 */
252252 public function canBeDisabled ()
253253 {
@@ -267,7 +267,7 @@ public function canBeDisabled()
267267 /**
268268 * Disables the deep merging of the node.
269269 *
270- * @return ArrayNodeDefinition
270+ * @return $this
271271 */
272272 public function performNoDeepMerging ()
273273 {
@@ -287,7 +287,7 @@ public function performNoDeepMerging()
287287 *
288288 * @param bool $remove Whether to remove the extra keys
289289 *
290- * @return ArrayNodeDefinition
290+ * @return $this
291291 */
292292 public function ignoreExtraKeys ($ remove = true )
293293 {
@@ -302,7 +302,7 @@ public function ignoreExtraKeys($remove = true)
302302 *
303303 * @param bool $bool Whether to enable key normalization
304304 *
305- * @return ArrayNodeDefinition
305+ * @return $this
306306 */
307307 public function normalizeKeys ($ bool )
308308 {
@@ -324,7 +324,7 @@ public function normalizeKeys($bool)
324324 *
325325 * @param NodeDefinition $node A NodeDefinition instance
326326 *
327- * @return ArrayNodeDefinition This node
327+ * @return $this
328328 */
329329 public function append (NodeDefinition $ node )
330330 {
0 commit comments