Whoops, looks like something went wrong.

(1/1) FatalThrowableError

Call to undefined method Symfony\Component\HttpFoundation\BinaryFileResponse::header()

in CorsMiddleware.php line 33
at CorsMiddleware->handle(object(Request), object(Closure))in Pipeline.php line 149
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request))in Pipeline.php line 32
at Pipeline->Laravel\Lumen\Routing\{closure}(object(Request))in Pipeline.php line 102
at Pipeline->then(object(Closure))in RoutesRequests.php line 410
at Application->sendThroughPipeline(array('App\\Http\\Middleware\\CorsMiddleware'), object(Closure))in RoutesRequests.php line 166
at Application->dispatch(null)in RoutesRequests.php line 107
at Application->run()in index.php line 30