Fix deprecation message for Statement::fetchAll()

parent 23e569ea
...@@ -124,7 +124,7 @@ class ArrayStatement implements IteratorAggregate, ResultStatement, ForwardCompa ...@@ -124,7 +124,7 @@ class ArrayStatement implements IteratorAggregate, ResultStatement, ForwardCompa
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -176,7 +176,7 @@ class ResultCacheStatement implements IteratorAggregate, ResultStatement, Forwar ...@@ -176,7 +176,7 @@ class ResultCacheStatement implements IteratorAggregate, ResultStatement, Forwar
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -312,7 +312,7 @@ class DB2Statement implements IteratorAggregate, Statement, ForwardCompatibleRes ...@@ -312,7 +312,7 @@ class DB2Statement implements IteratorAggregate, Statement, ForwardCompatibleRes
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -362,7 +362,7 @@ class MysqliStatement implements IteratorAggregate, Statement, ForwardCompatible ...@@ -362,7 +362,7 @@ class MysqliStatement implements IteratorAggregate, Statement, ForwardCompatible
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -468,7 +468,7 @@ class OCI8Statement implements IteratorAggregate, Statement, ForwardCompatibleRe ...@@ -468,7 +468,7 @@ class OCI8Statement implements IteratorAggregate, Statement, ForwardCompatibleRe
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -156,7 +156,7 @@ class PDOStatement extends \PDOStatement implements Statement, ForwardCompatible ...@@ -156,7 +156,7 @@ class PDOStatement extends \PDOStatement implements Statement, ForwardCompatible
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -71,7 +71,7 @@ interface ResultStatement extends Traversable ...@@ -71,7 +71,7 @@ interface ResultStatement extends Traversable
/** /**
* Returns an array containing all of the result set rows. * Returns an array containing all of the result set rows.
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
* *
* @param int|null $fetchMode Controls how the next row will be returned to the caller. * @param int|null $fetchMode Controls how the next row will be returned to the caller.
* The value must be one of the {@link \Doctrine\DBAL\FetchMode} constants, * The value must be one of the {@link \Doctrine\DBAL\FetchMode} constants,
......
...@@ -258,7 +258,7 @@ class SQLAnywhereStatement implements IteratorAggregate, Statement, ForwardCompa ...@@ -258,7 +258,7 @@ class SQLAnywhereStatement implements IteratorAggregate, Statement, ForwardCompa
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -390,7 +390,7 @@ class SQLSrvStatement implements IteratorAggregate, Statement, ForwardCompatible ...@@ -390,7 +390,7 @@ class SQLSrvStatement implements IteratorAggregate, Statement, ForwardCompatible
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -160,7 +160,7 @@ class Statement implements IteratorAggregate, DriverStatement, ForwardCompatible ...@@ -160,7 +160,7 @@ class Statement implements IteratorAggregate, DriverStatement, ForwardCompatible
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
...@@ -263,7 +263,7 @@ class Statement implements IteratorAggregate, DriverStatement, ForwardCompatible ...@@ -263,7 +263,7 @@ class Statement implements IteratorAggregate, DriverStatement, ForwardCompatible
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchColumn() instead. * @deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead.
*/ */
public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null) public function fetchAll($fetchMode = null, $fetchArgument = null, $ctorArgs = null)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment