diff --git a/lib/Doctrine/DBAL/Driver/StatementIterator.php b/lib/Doctrine/DBAL/Driver/StatementIterator.php index 5246b38a448..6b3307da2af 100644 --- a/lib/Doctrine/DBAL/Driver/StatementIterator.php +++ b/lib/Doctrine/DBAL/Driver/StatementIterator.php @@ -6,10 +6,10 @@ class StatementIterator implements IteratorAggregate { - /** @var Statement */ + /** @var ResultStatement */ private $statement; - public function __construct(Statement $statement) + public function __construct(ResultStatement $statement) { $this->statement = $statement; }