Skip to content

Conversation

@Asenar
Copy link

@Asenar Asenar commented Jan 15, 2025

This small fix the following deprecation notice:

[2025-01-15T22:40:38.930794+00:00] deprecation.INFO: User Deprecated: Method "Doctrine\DBAL\Types\Type::getName()" might add "string" as a native return type declaration in the future. Do the same in child class "DoctrineExtensions\Types\CarbonDateType" now to avoid errors or add an explicit @return annotation to suppress this message. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Method \"Doctrine\\DBAL\\Types\\Type::getName()\" might add \"string\" as a native return type declaration in the future. Do the same in child class \"DoctrineExtensions\\Types\\CarbonDateType\" now to avoid errors or add an explicit @return annotation to suppress this message. At vendor/symfony/error-handler/DebugClassLoader.php:341)"} []

(found with symfony 7.2, this not happens in 7.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant