Closed KAMAELUA closed 7 years ago
Hello, I think that you should fix this small issue.
Type error: Argument 1 passed to Invisnik\LaravelSteamAuth\SteamAuth::__construct() must be an instance of Illuminate\Http\Request
You have created constructor for SteamAuth:
public function __construct(Request $request) { ... }
but when you register() it in SteamServiceProvider you don't pass Request $request to it:
register()
SteamServiceProvider
Request $request
public function register() { $this->app['steamauth'] = $this->app->share( function () { return new SteamAuth(); } ); }
In this case when I trying to generate PHPDoc via barryvdh/laravel-ide-helper it throws this exception.
@KAMAELUA check this pull request #49
Hello, I think that you should fix this small issue.
You have created constructor for SteamAuth:
but when you
register()
it inSteamServiceProvider
you don't passRequest $request
to it:In this case when I trying to generate PHPDoc via barryvdh/laravel-ide-helper it throws this exception.