From 633b821e18d62cc94ebd68c2038acc82ac2a5311 Mon Sep 17 00:00:00 2001 From: Mathew Davies Date: Thu, 8 Jun 2017 16:27:28 +0100 Subject: [PATCH] Update StatementArrayMock to implement the right interface. --- tests/Doctrine/Tests/Mocks/StatementArrayMock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Doctrine/Tests/Mocks/StatementArrayMock.php b/tests/Doctrine/Tests/Mocks/StatementArrayMock.php index 9ef37da46..ed6ea4fdf 100644 --- a/tests/Doctrine/Tests/Mocks/StatementArrayMock.php +++ b/tests/Doctrine/Tests/Mocks/StatementArrayMock.php @@ -34,12 +34,12 @@ class StatementArrayMock extends StatementMock } } - public function fetchAll($fetchStyle = null) + public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) { return $this->_result; } - public function fetch($fetchStyle = null) + public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0) { $current = current($this->_result); next($this->_result);