Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapper =/= compilable mapper #26

Open
clemzarch opened this issue Jun 14, 2023 · 1 comment
Open

mapper =/= compilable mapper #26

clemzarch opened this issue Jun 14, 2023 · 1 comment

Comments

@clemzarch
Copy link
Contributor

pour passer rapidement phpstan j'ai mis un type dans une annotation, mais il faudrait le corriger réellement dans les classes:
getMapper() retourne une MapperInterface, et on fait compile() dessus alors que ça n'existe pas directement.
compile() serait dispo si on avait un CompilableInterface

Capture d’écran 2023-06-14 à 17 18 54

@gplanchat
Copy link
Contributor

Et si tu mettais ArrayMapperInterface&CompilableInterface comme type ?

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

No branches or pull requests

2 participants