Skip to content

Commit 4431702

Browse files
authored
Merge pull request #8 from Vasary/fix-statement
fix arguments count in method
2 parents f9208a7 + 037833c commit 4431702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClickHouseStatement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ protected function assumeFetchMode($fetchMode = null)
138138
/**
139139
* {@inheritDoc}
140140
*/
141-
public function fetch($fetchMode = null)
141+
public function fetch($fetchMode = null, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0)
142142
{
143143
$data = $this->getIterator()->current();
144144

@@ -174,7 +174,7 @@ public function fetch($fetchMode = null)
174174
/**
175175
* {@inheritDoc}
176176
*/
177-
public function fetchAll($fetchMode = null)
177+
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
178178
{
179179
if (\PDO::FETCH_NUM === $this->assumeFetchMode($fetchMode)) {
180180
return array_map(

0 commit comments

Comments
 (0)