From 8394fee3d784e72f0fd3b02e6a5c03ec8561126d Mon Sep 17 00:00:00 2001 From: Kirill Nesmeyanov Date: Wed, 15 Sep 2021 21:29:30 +0300 Subject: [PATCH] Update StatementInterface.php --- src/StatementInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatementInterface.php b/src/StatementInterface.php index d101481..762227b 100644 --- a/src/StatementInterface.php +++ b/src/StatementInterface.php @@ -15,7 +15,7 @@ * Must implement Traversable as IteratorAggregate or Iterator. You can access underlying PDOStatement * using getPDOStatement() method of `Spiral\Database\Driver\Statement` object. */ -interface StatementInterface +interface StatementInterface extends \IteratorAggregate { // Fetch rows as assoc array. Default. public const FETCH_ASSOC = 2;