| @@ 134-136 (lines=3) @@ | ||
| 131 | } |
|
| 132 | } |
|
| 133 | ||
| 134 | if (!empty($this->config[ConfigurationConstants::DEFAULT_VARIABLES][$field])) { |
|
| 135 | return $this->config[ConfigurationConstants::DEFAULT_VARIABLES][$field]; |
|
| 136 | } |
|
| 137 | ||
| 138 | throw new MissingValueException($field); |
|
| 139 | } |
|
| @@ 190-192 (lines=3) @@ | ||
| 187 | ||
| 188 | } |
|
| 189 | ||
| 190 | if (!empty($this->config[ConfigurationConstants::DEFAULT_VARIABLES][$field])) { |
|
| 191 | return [$this->config[ConfigurationConstants::DEFAULT_VARIABLES][$field]]; |
|
| 192 | } |
|
| 193 | ||
| 194 | throw new MissingValueException($field); |
|
| 195 | } |
|