Skip to content

Commit

Permalink
Improve compatibility with Octane
Browse files Browse the repository at this point in the history
Try to fix #136
  • Loading branch information
lorisleiva committed Nov 10, 2021
1 parent 6e0aa6e commit a2e42f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ActionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public function boot()

protected function extendActions(ActionManager $manager)
{
$this->app->beforeResolving(function ($abstract, $parameters, Application $app) use ($manager) {
if (! class_exists($abstract) || $app->resolved($abstract)) {
$this->app->beforeResolving(function ($abstract) use ($manager) {
if (! class_exists($abstract) || app()->resolved($abstract)) {
return;
}

Expand Down

0 comments on commit a2e42f0

Please sign in to comment.