Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Deprecated: Method "Doctrine\DBAL\Types\Type::convertToDatabaseValue()" might add "mixed" as a native return type declaration in the future #6

Closed
Radiergummi opened this issue Jan 30, 2022 · 1 comment · Fixed by #7

Comments

@Radiergummi
Copy link

The following deprecation warnings are reported by PHP when using the library:

User Deprecated: Method "Doctrine\DBAL\Types\Type::convertToDatabaseValue()"
might add "mixed" as a native return type declaration in the future. Do the 
same in child class "BenTools\Doctrine\NativeEnums\Type\NativeEnum" now to 
avoid errors or add an explicit @return annotation to suppress this message.
User Deprecated: Method "Doctrine\DBAL\Types\Type::requiresSQLCommentHint()"
might add "bool" as a native return type declaration in the future. Do the
same in child class "BenTools\Doctrine\NativeEnums\Type\NativeEnum" now to
avoid errors or add an explicit @return annotation to suppress this message.

Adding the return types shouldn't cause any trouble, I suppose.

@bpolaszek
Copy link
Owner

Thanks @Radiergummi - I'll address this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants