Skip to content

Commit

Permalink
Merge pull request #4491 from doctrine/typeregistry-deinternalize
Browse files Browse the repository at this point in the history
Remove internal flag from TypeRegistry
  • Loading branch information
ostrolucky authored Feb 2, 2021
2 parents b4d5a62 + 256225d commit f198185
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions lib/Doctrine/DBAL/Types/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ abstract public function getSQLDeclaration(array $column, AbstractPlatform $plat
*/
abstract public function getName();

/**
* @internal This method is only to be used within DBAL for forward compatibility purposes. Do not use directly.
*/
final public static function getTypeRegistry(): TypeRegistry
{
if (self::$typeRegistry === null) {
Expand Down
2 changes: 0 additions & 2 deletions lib/Doctrine/DBAL/Types/TypeRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
/**
* The type registry is responsible for holding a map of all known DBAL types.
* The types are stored using the flyweight pattern so that one type only exists as exactly one instance.
*
* @internal TypeRegistry exists for forward compatibility, its API should not be considered stable.
*/
final class TypeRegistry
{
Expand Down

0 comments on commit f198185

Please sign in to comment.