Skip to content

Commit 4e040a9

Browse files
kalessilfabpot
authored andcommitted
Php Inspections (EA Extended): squash all PR-13813 commits
1 parent 7383e2c commit 4e040a9

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

OptionsResolver.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -670,14 +670,8 @@ public function remove($optionNames)
670670
}
671671

672672
foreach ((array) $optionNames as $option) {
673-
unset($this->defined[$option]);
674-
unset($this->defaults[$option]);
675-
unset($this->required[$option]);
676-
unset($this->resolved[$option]);
677-
unset($this->lazy[$option]);
678-
unset($this->normalizers[$option]);
679-
unset($this->allowedTypes[$option]);
680-
unset($this->allowedValues[$option]);
673+
unset($this->defined[$option], $this->defaults[$option], $this->required[$option], $this->resolved[$option]);
674+
unset($this->lazy[$option], $this->normalizers[$option], $this->allowedTypes[$option], $this->allowedValues[$option]);
681675
}
682676

683677
return $this;

0 commit comments

Comments
 (0)