#69539Allow @var resource in class memebrs annotations
Description
I have a model, which has protected property $_remoteFile of type resource
The story is, that I fetch resource with remote request, when client code calls getFile() on my model, and store it in $this->remoteFile to not make an external call every time, when someone calls getFile() more, than once.
But Extbase complains, taht it can’t recognize such type
#1315564744: @var annotation of Found an invalid element type declaration in class "classname", property "_remoteFile". A type "'resource'" does not exist.
I’ve tried to move it out of model and wrap into custom RemoteFile class, wich is linked with my model. But problem persists due to recursive validation.