lorisleiva / laravel-actions

⚡️ Laravel components that take care of one specific task
https://laravelactions.com
MIT License
2.52k stars 124 forks source link

Not working in laravel 11.21.x #288

Closed FlexIDK closed 3 months ago

FlexIDK commented 3 months ago

Error in ResolvesRouteDependencies.php

Illuminate\Routing\RouteDependencyResolverTrait - deprecated

Need add $container to src/Decorators/ListenerDecorator.php

<?php
...
use Illuminate\Container\Container;
...
    protected $container;

    public function __construct($action) {
        ...
        $this->container = new Container;      
    }
...
?>
lorisleiva commented 3 months ago

Hi there, thanks for raising this. Indeed I can see that the test for latest-stable are now failing on CI.

Would you be able to release a PR that fixes it?

FlexIDK commented 3 months ago

https://github.com/lorisleiva/laravel-actions/pull/289