Entity vs TEntity
Collapse
X
-
It's a generic type. PHPStorm kind of supports them, but I find it still buggy or not fully supported. PHPStan supports them fully. -
Entity vs TEntity
When i code a function with a parameter type of Entity, but feed it a single item from a query from a getRDP based ORM query, my intellisense flags the mismatch between Entity and TEntity. Does this matter? Am I using the wrong object types or convention?
Thx
Tags: None
Leave a comment: