diff --git a/src/Concerns/ProvidesDefaultConfigurationOptions.php b/src/Concerns/ProvidesDefaultConfigurationOptions.php index 420c05ef9..d0590c46e 100644 --- a/src/Concerns/ProvidesDefaultConfigurationOptions.php +++ b/src/Concerns/ProvidesDefaultConfigurationOptions.php @@ -19,7 +19,7 @@ public static function prepareApplicationForNextRequest(): array \Laravel\Octane\Listeners\EnforceRequestScheme::class, \Laravel\Octane\Listeners\EnsureRequestServerPortMatchesScheme::class, \Laravel\Octane\Listeners\GiveNewRequestInstanceToApplication::class, - // \Laravel\Octane\Listeners\GiveNewRequestInstanceToPaginator::class, + \Laravel\Octane\Listeners\GiveNewRequestInstanceToPaginator::class, ]; } diff --git a/src/Listeners/GiveNewRequestInstanceToPaginator.php b/src/Listeners/GiveNewRequestInstanceToPaginator.php index 16768faee..d2657edee 100644 --- a/src/Listeners/GiveNewRequestInstanceToPaginator.php +++ b/src/Listeners/GiveNewRequestInstanceToPaginator.php @@ -14,6 +14,6 @@ class GiveNewRequestInstanceToPaginator */ public function handle($event): void { - // PaginationState::resolveUsing($event->sandbox); + PaginationState::resolveUsing($event->sandbox); } }