@@ -85,7 +85,7 @@ public function prototype($type)
8585 * If this function has been called and the node is not set during the finalization
8686 * phase, it's default value will be derived from its children default values.
8787 *
88- * @return ArrayNodeDefinition
88+ * @return $this
8989 */
9090 public function addDefaultsIfNotSet ()
9191 {
@@ -101,7 +101,7 @@ public function addDefaultsIfNotSet()
101101 *
102102 * This method is applicable to prototype nodes only.
103103 *
104- * @return ArrayNodeDefinition
104+ * @return $this
105105 */
106106 public function addDefaultChildrenIfNoneSet ($ children = null )
107107 {
@@ -115,7 +115,7 @@ public function addDefaultChildrenIfNoneSet($children = null)
115115 *
116116 * This method is applicable to prototype nodes only.
117117 *
118- * @return ArrayNodeDefinition
118+ * @return $this
119119 */
120120 public function requiresAtLeastOneElement ()
121121 {
@@ -129,7 +129,7 @@ public function requiresAtLeastOneElement()
129129 *
130130 * If used all keys have to be defined in the same configuration file.
131131 *
132- * @return ArrayNodeDefinition
132+ * @return $this
133133 */
134134 public function disallowNewKeysInSubsequentConfigs ()
135135 {
@@ -144,7 +144,7 @@ public function disallowNewKeysInSubsequentConfigs()
144144 * @param string $singular The key to remap
145145 * @param string $plural The plural of the key for irregular plurals
146146 *
147- * @return ArrayNodeDefinition
147+ * @return $this
148148 */
149149 public function fixXmlConfig ($ singular , $ plural = null )
150150 {
@@ -179,7 +179,7 @@ public function fixXmlConfig($singular, $plural = null)
179179 * @param string $name The name of the key
180180 * @param bool $removeKeyItem Whether or not the key item should be removed
181181 *
182- * @return ArrayNodeDefinition
182+ * @return $this
183183 */
184184 public function useAttributeAsKey ($ name , $ removeKeyItem = true )
185185 {
@@ -194,7 +194,7 @@ public function useAttributeAsKey($name, $removeKeyItem = true)
194194 *
195195 * @param bool $allow
196196 *
197- * @return ArrayNodeDefinition
197+ * @return $this
198198 */
199199 public function canBeUnset ($ allow = true )
200200 {
@@ -216,7 +216,7 @@ public function canBeUnset($allow = true)
216216 * enableableArrayNode: {enabled: false, ...} # The config is disabled
217217 * enableableArrayNode: false # The config is disabled
218218 *
219- * @return ArrayNodeDefinition
219+ * @return $this
220220 */
221221 public function canBeEnabled ()
222222 {
@@ -246,7 +246,7 @@ public function canBeEnabled()
246246 *
247247 * By default, the section is enabled.
248248 *
249- * @return ArrayNodeDefinition
249+ * @return $this
250250 */
251251 public function canBeDisabled ()
252252 {
@@ -266,7 +266,7 @@ public function canBeDisabled()
266266 /**
267267 * Disables the deep merging of the node.
268268 *
269- * @return ArrayNodeDefinition
269+ * @return $this
270270 */
271271 public function performNoDeepMerging ()
272272 {
@@ -284,7 +284,7 @@ public function performNoDeepMerging()
284284 * you want to send an entire configuration array through a special
285285 * tree that processes only part of the array.
286286 *
287- * @return ArrayNodeDefinition
287+ * @return $this
288288 */
289289 public function ignoreExtraKeys ()
290290 {
@@ -298,7 +298,7 @@ public function ignoreExtraKeys()
298298 *
299299 * @param bool $bool Whether to enable key normalization
300300 *
301- * @return ArrayNodeDefinition
301+ * @return $this
302302 */
303303 public function normalizeKeys ($ bool )
304304 {
@@ -320,7 +320,7 @@ public function normalizeKeys($bool)
320320 *
321321 * @param NodeDefinition $node A NodeDefinition instance
322322 *
323- * @return ArrayNodeDefinition This node
323+ * @return $this
324324 */
325325 public function append (NodeDefinition $ node )
326326 {
0 commit comments