Closed gabrielbuzziv closed 7 years ago
Which Laravel version?
BTW, the first parameter is required to be set to $entity
, we're using Illuminate\Container\Container::call()
method here, and we already bind the relevant model to $entity
, Defining Account $account
would mean the container would then build a new Account
object.
Change to $entity
solved this problem, thanks.
For some reason this resolver is throwing the error below: