diff --git a/Command/AbstractPropelCommand.php b/Command/AbstractPropelCommand.php index ccc103b..fa1d114 100644 --- a/Command/AbstractPropelCommand.php +++ b/Command/AbstractPropelCommand.php @@ -197,7 +197,7 @@ abstract class AbstractPropelCommand extends ContainerAwareCommand $finder = new Finder(); $schemas = $finder->files()->name('*schema.xml')->followLinks()->in($dir); - if (empty($schemas)) { + if (!iterator_count($schemas)) { continue; }