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

Commit

Permalink
StatementIterator: changed return value of current() to ?Statement
Browse files Browse the repository at this point in the history
  • Loading branch information
k00ni committed Jul 2, 2018
1 parent 5c8ab63 commit 4e11200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions StatementIterator.php
Expand Up @@ -24,13 +24,13 @@ interface StatementIterator extends \Iterator
/**
* Get current Statement instance.
*
* @return Statement
* @return Statement|null
*
* @api
*
* @since 0.1
* @since 1.0
*/
public function current(): Statement;
public function current(): ?Statement;

/**
* Get key of current Statement.
Expand Down

0 comments on commit 4e11200

Please sign in to comment.