@@ 84-86 (lines=3) @@ | ||
81 | if (false === $config['enabled']) { |
|
82 | continue; |
|
83 | } |
|
84 | if (true === array_key_exists('type', $config)) { |
|
85 | $config['type'] = $this->sanitize($config['type']); |
|
86 | } |
|
87 | if (true === array_key_exists('api_type', $config)) { |
|
88 | $config['api_type'] = $this->sanitize($config['api_type']); |
|
89 | } |
|
@@ 87-89 (lines=3) @@ | ||
84 | if (true === array_key_exists('type', $config)) { |
|
85 | $config['type'] = $this->sanitize($config['type']); |
|
86 | } |
|
87 | if (true === array_key_exists('api_type', $config)) { |
|
88 | $config['api_type'] = $this->sanitize($config['api_type']); |
|
89 | } |
|
90 | $this->register($file, $config); |
|
91 | } |
|
92 | $this->loaded = true; |