Entity vs TEntity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murray99
    Member
    • Jan 2017
    • 57

    #1

    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
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9669

    #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...