Skip to content

Commit

Permalink
Update Octane contract
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte authored Apr 19, 2024
1 parent 4b78632 commit 1760792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PermissionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function registerOctaneListener(): void
return;
}
// @phpstan-ignore-next-line
$dispatcher->listen(function (\Laravel\Octane\Events\OperationTerminated $event) {
$dispatcher->listen(function (\Laravel\Octane\Contracts\OperationTerminated $event) {
// @phpstan-ignore-next-line
$event->sandbox->make(PermissionRegistrar::class)->clearPermissionsCollection();
});
Expand Down

0 comments on commit 1760792

Please sign in to comment.