@@ -32,5 +32,5 @@ |
||
| 32 | 32 | |
| 33 | 33 | public function sendAttach(TargetProcessDescriptor $process_descriptor): void; |
| 34 | 34 | |
| 35 | - public function receiveTraceOrDetachWorker(): TraceMessage|DetachWorkerMessage; |
|
| 35 | + public function receiveTraceOrDetachWorker(): TraceMessage | DetachWorkerMessage; |
|
| 36 | 36 | } |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $this->channel->send($message); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - public function receiveTraceOrDetachWorker(): TraceMessage|DetachWorkerMessage |
|
| 45 | + public function receiveTraceOrDetachWorker(): TraceMessage | DetachWorkerMessage |
|
| 46 | 46 | { |
| 47 | 47 | /** @var TraceMessage|DetachWorkerMessage */ |
| 48 | 48 | return $this->channel->receive(); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | ); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - public function receiveTraceOrDetachWorker(): TraceMessage|DetachWorkerMessage |
|
| 63 | + public function receiveTraceOrDetachWorker(): TraceMessage | DetachWorkerMessage |
|
| 64 | 64 | { |
| 65 | 65 | return $this->context->getProtocol()->receiveTraceOrDetachWorker(); |
| 66 | 66 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | use Reli\Lib\Log\StateCollector\StateCollector; |
| 20 | 20 | use Psr\Log\LoggerInterface; |
| 21 | 21 | |
| 22 | -return function (Channel $channel) use ($argv): void { |
|
| 22 | +return function(Channel $channel) use ($argv): void { |
|
| 23 | 23 | /** |
| 24 | 24 | * @var class-string<WorkerEntryPointInterface> $entry_class |
| 25 | 25 | * @var class-string<MessageProtocolInterface> $protocol_class |