Deprecate Doctrine\DBAL\Types\Type::getDefaultLength()

parent 7bbed590
# 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()`
Relying on string representation is discouraged and will be removed in DBAL 3.0.
......
......@@ -146,7 +146,7 @@ abstract class Type
*
* @return int|null
*
* @todo Needed?
* @deprecated Rely on information provided by the platform instead.
*/
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