diff --git a/config/octane.php b/config/octane.php index 8cfba0114..0343672cd 100644 --- a/config/octane.php +++ b/config/octane.php @@ -71,8 +71,6 @@ ], RequestReceived::class => [ - ...Octane::prepareApplicationForNextOperation(), - ...Octane::prepareApplicationForNextRequest(), // ], @@ -85,7 +83,6 @@ ], TaskReceived::class => [ - ...Octane::prepareApplicationForNextOperation(), // ], @@ -94,7 +91,6 @@ ], TickReceived::class => [ - ...Octane::prepareApplicationForNextOperation(), // ], diff --git a/src/Concerns/ProvidesDefaultConfigurationOptions.php b/src/Concerns/ProvidesDefaultConfigurationOptions.php index 5edf961f5..f11dc5819 100644 --- a/src/Concerns/ProvidesDefaultConfigurationOptions.php +++ b/src/Concerns/ProvidesDefaultConfigurationOptions.php @@ -5,23 +5,19 @@ trait ProvidesDefaultConfigurationOptions { /** - * Get the listeners that will prepare the Laravel application for a new request. + * This method is kept for BC reasons. */ public static function prepareApplicationForNextRequest(): array { - return [ - - ]; + return []; } /** - * Get the listeners that will prepare the Laravel application for a new operation. + * This method is kept for BC reasons. */ public static function prepareApplicationForNextOperation(): array { - return [ - - ]; + return []; } /**