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

Commit 4e11200

Browse files
committed
StatementIterator: changed return value of current() to ?Statement
1 parent 5c8ab63 commit 4e11200

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

StatementIterator.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ interface StatementIterator extends \Iterator
2424
/**
2525
* Get current Statement instance.
2626
*
27-
* @return Statement
27+
* @return Statement|null
2828
*
2929
* @api
3030
*
31-
* @since 0.1
31+
* @since 1.0
3232
*/
33-
public function current(): Statement;
33+
public function current(): ?Statement;
3434

3535
/**
3636
* Get key of current Statement.

0 commit comments

Comments
 (0)