Skip to content

Commit 1760792

Browse files
authored
Update Octane contract
1 parent 4b78632 commit 1760792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PermissionServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function registerOctaneListener(): void
109109
return;
110110
}
111111
// @phpstan-ignore-next-line
112-
$dispatcher->listen(function (\Laravel\Octane\Events\OperationTerminated $event) {
112+
$dispatcher->listen(function (\Laravel\Octane\Contracts\OperationTerminated $event) {
113113
// @phpstan-ignore-next-line
114114
$event->sandbox->make(PermissionRegistrar::class)->clearPermissionsCollection();
115115
});

0 commit comments

Comments
 (0)