Code Duplication    Length = 3-3 lines in 2 locations

src/Runtime/Runtime.php 2 locations

@@ 230-232 (lines=3) @@
227
            return $default;
228
        }
229
230
        if (array_key_exists($key, $this->configuration['environments'][$this->environment])) {
231
            return $this->configuration['environments'][$this->environment][$key];
232
        }
233
234
        return $default;
235
    }
@@ 267-269 (lines=3) @@
264
    public function setEnvOption($key, $value)
265
    {
266
        if (array_key_exists('environments', $this->configuration) && is_array($this->configuration['environments'])) {
267
            if (array_key_exists($this->environment, $this->configuration['environments'])) {
268
                $this->configuration['environments'][$this->environment][$key] = $value;
269
            }
270
        }
271
272
        return $this;