diff --git a/lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php b/lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php index 892db0ae520..520c95bd307 100644 --- a/lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php +++ b/lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php @@ -207,7 +207,7 @@ public function getIterator() /** * {@inheritdoc} */ - public function fetch($fetchMode = null) + public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0) { // do not try fetching from the statement if it's not expected to contain result // in order to prevent exceptional situation @@ -250,7 +250,7 @@ public function fetch($fetchMode = null) /** * {@inheritdoc} */ - public function fetchAll($fetchMode = null) + public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) { $rows = array(); diff --git a/lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php b/lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php index 160cc1021d2..392ed85cd8b 100644 --- a/lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php +++ b/lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php @@ -193,7 +193,7 @@ public function execute($params = null) * * @throws SQLAnywhereException */ - public function fetch($fetchMode = null) + public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0) { if ( ! is_resource($this->result)) { return false; @@ -235,7 +235,7 @@ public function fetch($fetchMode = null) /** * {@inheritdoc} */ - public function fetchAll($fetchMode = null) + public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) { $rows = array(); diff --git a/lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php b/lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php index eee341796d8..c5c29a55ce9 100644 --- a/lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php +++ b/lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php @@ -303,7 +303,7 @@ public function getIterator() /** * {@inheritdoc} */ - public function fetch($fetchMode = null) + public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0) { // do not try fetching from the statement if it's not expected to contain result // in order to prevent exceptional situation @@ -336,7 +336,7 @@ public function fetch($fetchMode = null) /** * {@inheritdoc} */ - public function fetchAll($fetchMode = null) + public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) { $rows = array();