Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IDE Classes] Add return types for entity repositories (concretecms#7251
) What about telling the IDE the return types of the `find()`/`findOneBy()`/`findAll()`/`findBy()`/`matching()` of custom entity repositories? I don't know if phpstorms support a syntax like the one provided by the following code- if not, phpstorm users should give a thumb up at https://youtrack.jetbrains.com/issue/WI-27832. ```php override(\Concrete\Core\Entity\Express\EntityRepository::find(0), map([ '' => 'Concrete\Core\Entity\Express\Entity|null', ])); ``` BTW I just updated my Eclipse+PDT plugin to support it. Sample application: 
- Loading branch information