Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
The engine is type hinted in `Configure::config()`.
  • Loading branch information
jadb committed Mar 26, 2015
1 parent 113ebb1 commit 893c216
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Core/Configure.php
Expand Up @@ -299,9 +299,6 @@ public static function dump($key, $config = 'default', $keys = [])
if (!$engine) {
throw new Exception(sprintf('There is no "%s" config engine.', $config));
}
if (!method_exists($engine, 'dump')) {
throw new Exception(sprintf('The "%s" config engine, does not have a dump() method.', $config));
}
$values = static::$_values;
if (!empty($keys) && is_array($keys)) {
$values = array_intersect_key($values, array_flip($keys));
Expand Down

0 comments on commit 893c216

Please sign in to comment.