ERROR
500
It's not you, it's me.
App\Models\Category::indexCategory(): Return value must be of type App\Models\Category, null returned