Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Exceptions/TaskExceptionResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public function __construct(
protected string $file,
protected int $line,
) {
//
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
}

/**
Expand Down
9 changes: 5 additions & 4 deletions src/Swoole/Handlers/OnWorkerStart.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
}

/**
Expand Down
15 changes: 8 additions & 7 deletions src/Swoole/InvokeTickCallable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
}

/**
Expand Down
9 changes: 5 additions & 4 deletions src/Swoole/SwooleHttpTaskDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
}

/**
Expand Down