Cyvelnet / laravel5-fractal

A simple fractal service provider and transformer generator for laravel >=5
MIT License
79 stars 21 forks source link

Argument 4 to construct() must be an instance of Illuminate\Foundation\Application, instance of Laravel\Lumen\Application given #30

Closed alvaromartinezmajado closed 7 years ago

alvaromartinezmajado commented 7 years ago

Hi,

Using Lumen 5.4 and laravel5-fractal 2.0, when I try to run an artisan command I get:

[Symfony\Component\Debug\Exception\FatalThrowableError]
Type error: Argument 4 passed to Cyvelnet\Laravel5Fractal\Commands\TransformerGeneratorCommand::__
construct() must be an instance of Illuminate\Foundation\Application, instance of Laravel\Lumen\Application given, called in vendor/cyvelnet/laravel5-fractal/src/Cyvelnet/Lara
vel5Fractal/Laravel5FractalServiceProvider.php on line 75

If further information is needed please let me know.

Cyvelnet commented 7 years ago

@alvaromartinezmajado thx for reporting the issue, the problem has been resolved. Please update the package and it should works

alvaromartinezmajado commented 7 years ago

Thank you so much @Cyvelnet