Skip to content
Permalink
Browse files

Remove unneeded code

The engine is type hinted in `Configure::config()`.
  • Loading branch information...
jadb committed Mar 26, 2015
1 parent 113ebb1 commit 893c21613eaa9e7836daddca5b2bc044a0281710
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/Core/Configure.php
@@ -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));

0 comments on commit 893c216

Please sign in to comment.
You can’t perform that action at this time.