@@ -11,10 +11,11 @@ |
||
| 11 | 11 | { |
| 12 | 12 | $this->selector = \VoidCore::getClass ($this->class, $this->namespace); |
| 13 | 13 | |
| 14 | - if ($pid !== null) |
|
| 15 | - $this->selector = $pid == getmypid () ? |
|
| 14 | + if ($pid !== null) { |
|
| 15 | + $this->selector = $pid == getmypid () ? |
|
| 16 | 16 | \VoidCore::callMethod ($this->selector, 'GetCurrentProcess') : |
| 17 | 17 | \VoidCore::callMethod ($this->selector, 'GetProcessById', $pid); |
| 18 | + } |
|
| 18 | 19 | |
| 19 | 20 | Components::addComponent ($this->selector, $this); |
| 20 | 21 | } |