@@ -43,9 +43,9 @@ |
||
| 43 | 43 | { |
| 44 | 44 | $thread_pointer = $this->thread_pointer_retriever->getThreadPointer($pid); |
| 45 | 45 | |
| 46 | - [,,$thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp'); |
|
| 46 | + [,, $thread_db_pthread_dtvp_offset] = $this->getLibThreadDbDescriptor('_thread_db_pthread_dtvp'); |
|
| 47 | 47 | [$thread_db_dtv_dtv_size,,] = $this->getLibThreadDbDescriptor('_thread_db_dtv_dtv'); |
| 48 | - [,,$thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val'); |
|
| 48 | + [,, $thread_db_dtv_t_pointer_val_offset] = $this->getLibThreadDbDescriptor('_thread_db_dtv_t_pointer_val'); |
|
| 49 | 49 | // [,,] = $this->getLibThreadDbDescriptor($pid, '_thread_db_link_map_l_tls_modid'); |
| 50 | 50 | |
| 51 | 51 | $dtv_pointer_address = $thread_pointer + $thread_db_pthread_dtvp_offset; |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | if ($address_and_size === null) { |
| 61 | 61 | return null; |
| 62 | 62 | } |
| 63 | - [$address,] = $address_and_size; |
|
| 63 | + [$address, ] = $address_and_size; |
|
| 64 | 64 | return $address; |
| 65 | 65 | } |
| 66 | 66 | |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | ); |
| 74 | 74 | |
| 75 | 75 | $this->on_shutdown->register( |
| 76 | - function () use ($pid) { |
|
| 76 | + function() use ($pid) { |
|
| 77 | 77 | $this->pcntl->waitpid($pid, $status, 0); |
| 78 | 78 | } |
| 79 | 79 | ); |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | return \pcntl_wifstopped($status); |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - public function wstopsig(int $status): int|false |
|
| 38 | + public function wstopsig(int $status): int | false |
|
| 39 | 39 | { |
| 40 | 40 | return \pcntl_wstopsig($status); |
| 41 | 41 | } |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | */ |
| 42 | 42 | public function create(string $version, int $opcode): Opcode |
| 43 | 43 | { |
| 44 | - return match ($version) { |
|
| 44 | + return match($version) { |
|
| 45 | 45 | 'v70' => new OpcodeV70($opcode), |
| 46 | 46 | 'v71' => new OpcodeV71($opcode), |
| 47 | 47 | 'v72' => new OpcodeV72($opcode), |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | public function __get(string $field_name): string |
| 40 | 40 | { |
| 41 | - return match ($field_name) { |
|
| 41 | + return match($field_name) { |
|
| 42 | 42 | 'value' => $this->value = substr( |
| 43 | 43 | \FFI::string($this->cdata->casted), |
| 44 | 44 | 0, |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | public function __get(string $field_name): mixed |
| 41 | 41 | { |
| 42 | - return match ($field_name) { |
|
| 42 | + return match($field_name) { |
|
| 43 | 43 | 'type_info' => $this->cdata->type_info, |
| 44 | 44 | 'type' => $this->cdata->v->type, |
| 45 | 45 | 'type_flags' => $this->cdata->v->type_flags, |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | |
| 81 | 81 | public function __get(string $field_name): mixed |
| 82 | 82 | { |
| 83 | - return match ($field_name) { |
|
| 83 | + return match($field_name) { |
|
| 84 | 84 | 'flags' => $this->flags = $this->casted_cdata->casted->u->flags, |
| 85 | 85 | 'nTableMask' => $this->nTableMask = $this->casted_cdata->casted->nTableMask, |
| 86 | 86 | 'arData' => $this->arData = Pointer::fromCData( |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | public function __get(string $field_name): mixed |
| 34 | 34 | { |
| 35 | - return match ($field_name) { |
|
| 35 | + return match($field_name) { |
|
| 36 | 36 | 'current_execute_data' => $this->casted_cdata->casted->current_execute_data !== null |
| 37 | 37 | ? Pointer::fromCData( |
| 38 | 38 | ZendExecuteData::class, |