Unverified Commit 26cd8d2c authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3256 from Majkl578/deprecation/Type-getDefaultLength

Deprecate Doctrine\DBAL\Types\Type::getDefaultLength()
parents cf98cc9e c38bbcc0
# Upgrade to 2.9 # Upgrade to 2.9
## Deprecated `Doctrine\DBAL\Types\Type::getDefaultLength()`
This method was never used by DBAL internally. It is now deprecated and will be removed in DBAL 3.0.
## Deprecated `Doctrine\DBAL\Types\Type::__toString()` ## Deprecated `Doctrine\DBAL\Types\Type::__toString()`
Relying on string representation is discouraged and will be removed in DBAL 3.0. Relying on string representation is discouraged and will be removed in DBAL 3.0.
......
...@@ -146,7 +146,7 @@ abstract class Type ...@@ -146,7 +146,7 @@ abstract class Type
* *
* @return int|null * @return int|null
* *
* @todo Needed? * @deprecated Rely on information provided by the platform instead.
*/ */
public function getDefaultLength(AbstractPlatform $platform) public function getDefaultLength(AbstractPlatform $platform)
{ {
......
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