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)
35
35
return isset ($ this ->configs [strtolower ($ config )]['options ' ]) ? $ this ->configs [strtolower ($ config )]['options ' ] : null ;
36
36
}
37
37
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 = [])
57
39
{
58
40
// Remove whitespace and special characters
59
41
$ config = strtolower ($ config );
You can’t perform that action at this time.
0 commit comments