Argument 1 passed to Example\Controllers\Homepage::__construct() must be an instance of Example\Controllers\Response, instance of Http\HttpResponse given
I don't how to fix this.
Fixed by changing Homepage controller constructor to
public function __construct(\Http\HttpResponse $response)
Should I not have needed to do this?
Nevermind. I missed the USE statement in the example code.
I don't how to fix this.Fixed by changing Homepage controller constructor to
public function __construct(\Http\HttpResponse $response)
Should I not have needed to do this?
Nevermind. I missed the USE statement in the example code.