laravel-api-controller icon indicating copy to clipboard operation
laravel-api-controller copied to clipboard

fixes issue where resourceModel is empty

Open janeatcd opened this issue 1 year ago • 0 comments

if resourceModel is not changed from the empty / null state, an error occurs :Error: Typed property Phpsa\LaravelApiController\Http\Api\Controller::$resourceModel must not be accessed before initialization in ...

this fixes it

janeatcd avatar May 13 '24 00:05 janeatcd