File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Symfony/Component/Config/Definition/Builder Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ public function canBeUnset(bool $allow = true): static
245245 */
246246 public function canBeEnabled (/* ?string $info = null */ ): static
247247 {
248- $ node = $ this
248+ $ disabledNode = $ this
249249 ->addDefaultsIfNotSet ()
250250 ->treatFalseLike (['enabled ' => false ])
251251 ->treatTrueLike (['enabled ' => true ])
@@ -265,7 +265,7 @@ public function canBeEnabled(/* ?string $info = null */): static
265265
266266 $ info = 1 <= \func_num_args () ? func_get_arg (0 ) : null ;
267267 if ($ info ) {
268- $ node ->info ($ info );
268+ $ disabledNode ->info ($ info );
269269 }
270270
271271 return $ this ;
@@ -282,7 +282,7 @@ public function canBeEnabled(/* ?string $info = null */): static
282282 */
283283 public function canBeDisabled (/* ?string $info = null */ ): static
284284 {
285- $ node = $ this
285+ $ enabledNode = $ this
286286 ->addDefaultsIfNotSet ()
287287 ->treatFalseLike (['enabled ' => false ])
288288 ->treatTrueLike (['enabled ' => true ])
@@ -294,7 +294,7 @@ public function canBeDisabled(/* ?string $info = null */): static
294294
295295 $ info = 1 <= \func_num_args () ? func_get_arg (0 ) : null ;
296296 if ($ info ) {
297- $ node ->info ($ info );
297+ $ enabledNode ->info ($ info );
298298 }
299299
300300 return $ this ;
You can’t perform that action at this time.
0 commit comments