1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Update StatementMock to implement the right interface.

This commit is contained in:
Mathew Davies 2017-06-08 16:25:57 +01:00
parent 1559db7ac1
commit a59367423a

View File

@ -75,14 +75,14 @@ class StatementMock implements \IteratorAggregate, Statement
/**
* {@inheritdoc}
*/
public function fetch($fetchStyle = null)
public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
{
}
/**
* {@inheritdoc}
*/
public function fetchAll($fetchStyle = null)
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{
}