Announcement

Collapse
No announcement yet.

Entity vs TEntity

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    It's a generic type. PHPStorm kind of supports them, but I find it still buggy or not fully supported. PHPStan supports them fully.

    Comment

    Working...
    X