Skip to content
Merged
Changes from 2 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
6 changes: 5 additions & 1 deletion src/ChildProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class ChildProcess implements ChildProcessContract

public readonly bool $persistent;

public readonly ?array $iniSettings;

final public function __construct(protected Client $client) {}

public function get(?string $alias = null): ?self
Expand Down Expand Up @@ -147,7 +149,9 @@ protected function fromRuntimeProcess($process)
}

foreach ($process['settings'] as $key => $value) {
$this->{$key} = $value;
if (property_exists($this, $key)) {
$this->{$key} = $value;
}
}

return $this;
Expand Down
Loading