File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -35,25 +35,7 @@ public function getOptions(string $config)
3535 return isset ($ this ->configs [strtolower ($ config )]['options ' ]) ? $ this ->configs [strtolower ($ config )]['options ' ] : null ;
3636 }
3737
38- public function set ($ config , $ value = null , array $ options = [])
39- {
40- if (is_array ($ config )) {
41- foreach ($ config as $ config => $ value ) {
42- if (is_numeric ($ config )) {
43- continue ;
44- }
45- if (is_array ($ value )) {
46- $ this ->setConfig ($ config , ...$ value );
47- } else {
48- $ this ->setConfig ($ config , $ value );
49- }
50- }
51- } else {
52- $ this ->setConfig ($ config , $ value , $ options );
53- }
54- }
55-
56- private function setConfig (string $ config , $ value = null , array $ options = [])
38+ public function set (string $ config , $ value = null , array $ options = [])
5739 {
5840 // Remove whitespace and special characters
5941 $ config = strtolower ($ config );
You can’t perform that action at this time.
0 commit comments