Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
fixed compatibility with stable nette
Browse files Browse the repository at this point in the history
  • Loading branch information
matej21 committed Aug 20, 2014
1 parent 9faa32c commit e4d1219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SetupExtension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
namespace Librette\Setup;

use Nette\DI\Compiler;
use Nette\DI\CompilerExtension;
use Nette\DI\ServiceDefinition;
use Nette\Reflection;
Expand Down Expand Up @@ -120,6 +121,6 @@ protected function getTargets($config)
}, (array) $target['type']);
}

return $targets;
return Compiler::filterArguments($targets);
}
}

0 comments on commit e4d1219

Please sign in to comment.