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
245
245
*/
246
246
public function canBeEnabled (/* ?string $info = null */ ): static
247
247
{
248
- $ node = $ this
248
+ $ disabledNode = $ this
249
249
->addDefaultsIfNotSet ()
250
250
->treatFalseLike (['enabled ' => false ])
251
251
->treatTrueLike (['enabled ' => true ])
@@ -265,7 +265,7 @@ public function canBeEnabled(/* ?string $info = null */): static
265
265
266
266
$ info = 1 <= \func_num_args () ? func_get_arg (0 ) : null ;
267
267
if ($ info ) {
268
- $ node ->info ($ info );
268
+ $ disabledNode ->info ($ info );
269
269
}
270
270
271
271
return $ this ;
@@ -282,7 +282,7 @@ public function canBeEnabled(/* ?string $info = null */): static
282
282
*/
283
283
public function canBeDisabled (/* ?string $info = null */ ): static
284
284
{
285
- $ node = $ this
285
+ $ enabledNode = $ this
286
286
->addDefaultsIfNotSet ()
287
287
->treatFalseLike (['enabled ' => false ])
288
288
->treatTrueLike (['enabled ' => true ])
@@ -294,7 +294,7 @@ public function canBeDisabled(/* ?string $info = null */): static
294
294
295
295
$ info = 1 <= \func_num_args () ? func_get_arg (0 ) : null ;
296
296
if ($ info ) {
297
- $ node ->info ($ info );
297
+ $ enabledNode ->info ($ info );
298
298
}
299
299
300
300
return $ this ;
You can’t perform that action at this time.
0 commit comments