Permalink
Browse files

removed support for PHP 5.3

  • Loading branch information...
dg committed May 20, 2015
1 parent 05e8aaa commit 89d3a3405cf922f30b29ce93989058479d908e0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ComponentModel/Container.php
@@ -200,7 +200,7 @@ public function getComponents($deep = FALSE, $filterType = NULL)
$iterator = new \RecursiveIteratorIterator($iterator, $deep);
}
if ($filterType) {
$iterator = new Nette\Iterators\Filter($iterator, function($item) use ($filterType) {
$iterator = new \CallbackFilterIterator($iterator, function($item) use ($filterType) {
return $item instanceof $filterType;
});
}

0 comments on commit 89d3a34

Please sign in to comment.