You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, add Laravel 5.4 support
I found one error to vendor/codesleeve/laravel-stapler/src/Providers/ServiceProvider.php file on 58 line, need will remove second param to closure function
The text was updated successfully, but these errors were encountered:
Hi! Add this to your L5ServiceProvider. Well... it's better to make your own Provider extending the L5. But you get the idea.
EDIT: This exception appears in my installation only in the php artisan commands given that the problem it's in a command.
use Codesleeve\LaravelStapler\Services\ImageRefreshService;
......
/**
* Register the image refresh service with the container.
*/
protected function registerImageRefreshService()
{
$this->app->singleton('ImageRefreshService', function ($app)
{
return new ImageRefreshService($app);
});
}
This should do the trick. The only change from the original code it's that I have deleted a parameter in the return new ImageRefreshService($app); But I don't know if it would be ok to send the changes as a pull request here.
Please, add Laravel 5.4 support
I found one error to vendor/codesleeve/laravel-stapler/src/Providers/ServiceProvider.php file on 58 line, need will remove second param to closure function
The text was updated successfully, but these errors were encountered: