Skip to content

Commit

Permalink
Fix 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Jul 15, 2016
1 parent 4e7702e commit c580911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ protected function getMethodArgs(\ReflectionMethod $method, array $args = array(
}
// Otherwise we create this object recursive
elseif (!$dependency->isAbstract() && !$dependency->isInterface() &&
(version_compare(PHP_VERSION, '5.4', '>=') && !$dependency->isTrait()))
!(version_compare(PHP_VERSION, '5.4', '>=') && $dependency->isTrait()))
{
// Find child args if set
if (isset($args[$dependencyClassName]) && is_array($args[$dependencyClassName]))
Expand Down

0 comments on commit c580911

Please sign in to comment.