diff --git a/src/Exceptions/TaskExceptionResult.php b/src/Exceptions/TaskExceptionResult.php index 0a64c517b..2fe9f0b61 100644 --- a/src/Exceptions/TaskExceptionResult.php +++ b/src/Exceptions/TaskExceptionResult.php @@ -11,7 +11,6 @@ public function __construct( protected string $file, protected int $line, ) { - // } /** diff --git a/src/Swoole/Actions/EnsureRequestsDontExceedMaxExecutionTime.php b/src/Swoole/Actions/EnsureRequestsDontExceedMaxExecutionTime.php index 20bc46bc7..1f9e1ad49 100644 --- a/src/Swoole/Actions/EnsureRequestsDontExceedMaxExecutionTime.php +++ b/src/Swoole/Actions/EnsureRequestsDontExceedMaxExecutionTime.php @@ -6,10 +6,11 @@ class EnsureRequestsDontExceedMaxExecutionTime { - public function __construct(protected SwooleExtension $extension, - protected $timerTable, - protected $maxExecutionTime) - { + public function __construct( + protected SwooleExtension $extension, + protected $timerTable, + protected $maxExecutionTime + ) { } /** diff --git a/src/Swoole/Handlers/OnWorkerStart.php b/src/Swoole/Handlers/OnWorkerStart.php index ba68adbe3..176fc4adc 100644 --- a/src/Swoole/Handlers/OnWorkerStart.php +++ b/src/Swoole/Handlers/OnWorkerStart.php @@ -12,10 +12,11 @@ class OnWorkerStart { - public function __construct(protected $basePath, - protected array $serverState, - protected WorkerState $workerState) - { + public function __construct( + protected $basePath, + protected array $serverState, + protected WorkerState $workerState + ) { } /** diff --git a/src/Swoole/InvokeTickCallable.php b/src/Swoole/InvokeTickCallable.php index 931ac1b20..2369a1982 100644 --- a/src/Swoole/InvokeTickCallable.php +++ b/src/Swoole/InvokeTickCallable.php @@ -8,13 +8,14 @@ class InvokeTickCallable { - public function __construct(protected string $key, - protected $callback, - protected int $seconds, - protected bool $immediate, - protected $cache, - protected ExceptionHandler $exceptionHandler) - { + public function __construct( + protected string $key, + protected $callback, + protected int $seconds, + protected bool $immediate, + protected $cache, + protected ExceptionHandler $exceptionHandler + ) { } /** diff --git a/src/Swoole/SwooleHttpTaskDispatcher.php b/src/Swoole/SwooleHttpTaskDispatcher.php index a260a47d7..a476dc484 100644 --- a/src/Swoole/SwooleHttpTaskDispatcher.php +++ b/src/Swoole/SwooleHttpTaskDispatcher.php @@ -14,10 +14,11 @@ class SwooleHttpTaskDispatcher implements DispatchesTasks { - public function __construct(protected string $host, - protected string $port, - protected DispatchesTasks $fallbackDispatcher) - { + public function __construct( + protected string $host, + protected string $port, + protected DispatchesTasks $fallbackDispatcher + ) { } /**