We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MINOR BC BREAK: fetch() and fetchAll() method signatures in Doctrine\DBAL\Driver\ResultStatement
Composer update doctrine to version 2.6
Minutes.
Changes in Statement.php line 214 & 224
Statement.php
214
224
/** * {@inheritdoc} * * @SuppressWarnings("PHPMD.StaticAccess") */ public function fetch($fetchMode = NULL, $cursorOrientation = \PDO::FETCH_ORI_NEXT, $cursorOffset = 0) { $fetchMode = empty($fetchMode) ? $this->fetchMode : $fetchMode; Assertions::assertSupportedFetchMode($fetchMode); return count($this->result) === 0 ? false : array_pop($this->result); } /** * {@inheritdoc} */ public function fetchAll($fetchMode = NULL, $fetchArgument = NULL, $ctorArgs = NULL) { $result = []; $fetchMode = empty($fetchMode) ? $this->fetchMode : $fetchMode; while (($row = $this->fetch($fetchMode))) array_push($result, $row); return $result; }
https://github.com/doctrine/dbal/blob/master/UPGRADE.md
The text was updated successfully, but these errors were encountered:
Merge pull request #70 from codebarista/master
7170068
#69 New fetch() and fetchAll() method signatures
No branches or pull requests
What is this feature about (expected vs actual behaviour)?
MINOR BC BREAK: fetch() and fetchAll() method signatures in Doctrine\DBAL\Driver\ResultStatement
How can I reproduce it?
Composer update doctrine to version 2.6
Does it take minutes, hours or days to fix?
Minutes.
Any additional information?
Changes in
Statement.php
line214
&224
https://github.com/doctrine/dbal/blob/master/UPGRADE.md
The text was updated successfully, but these errors were encountered: