Unverified Commit 8be62b20 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3677 from greg0ire/relax_statement_iterator_constraint

Relax statement type declaration
parents cc405b8f 442c6843
...@@ -6,10 +6,10 @@ use IteratorAggregate; ...@@ -6,10 +6,10 @@ use IteratorAggregate;
class StatementIterator implements IteratorAggregate class StatementIterator implements IteratorAggregate
{ {
/** @var Statement */ /** @var ResultStatement */
private $statement; private $statement;
public function __construct(Statement $statement) public function __construct(ResultStatement $statement)
{ {
$this->statement = $statement; $this->statement = $statement;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment