Unverified Commit 7bbed590 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3258 from Majkl578/deprecation/Type-__toString

Deprecate Doctrine\DBAL\Types\Type::__toString()
parents 2afd876d 7454e689
# Upgrade to 2.9 # Upgrade to 2.9
## Deprecated `Doctrine\DBAL\Types\Type::__toString()`
Relying on string representation is discouraged and will be removed in DBAL 3.0.
## Deprecated `NULL` value of `$offset` in LIMIT queries ## Deprecated `NULL` value of `$offset` in LIMIT queries
The `NULL` value of the `$offset` argument in `AbstractPlatform::(do)?ModifyLimitQuery()` methods is deprecated. If explicitly used in the method call, the absence of the offset should be indicated with a `0`. The `NULL` value of the `$offset` argument in `AbstractPlatform::(do)?ModifyLimitQuery()` methods is deprecated. If explicitly used in the method call, the absence of the offset should be indicated with a `0`.
......
...@@ -274,6 +274,8 @@ abstract class Type ...@@ -274,6 +274,8 @@ abstract class Type
/** /**
* @return string * @return string
*
* @deprecated Relying on string representation is discouraged and will be removed in DBAL 3.0.
*/ */
public function __toString() public function __toString()
{ {
......
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