| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function add($process, int $outputLength = null): Runnable |
||
| 45 | { |
||
| 46 | $outputLength = $outputLength ?? $this->defaultOutputLength; |
||
| 47 | |||
| 48 | if (is_callable($process)) { |
||
| 49 | $process = ParentRuntime::createProcess( |
||
| 50 | $process, |
||
| 51 | $outputLength, |
||
| 52 | $this->binary |
||
| 53 | ); |
||
| 54 | } |
||
| 55 | |||
| 56 | return parent::add($process, $outputLength); |
||
| 57 | } |
||
| 58 | |||
| 70 |