| 1 | <?php |
||
| 11 | class PipelineCollection |
||
| 12 | { |
||
| 13 | /** @var Pipeline[] | \SplFixedArray */ |
||
| 14 | private $pipelines; |
||
| 15 | |||
| 16 | public function __construct(PipelineFactory $pipelineFactory, int $maxProcessNumber = 10) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param AbstractParaunitProcess $process |
||
| 27 | * @return Pipeline |
||
| 28 | * @throws \RuntimeException |
||
| 29 | */ |
||
| 30 | public function push(AbstractParaunitProcess $process): Pipeline |
||
| 42 | |||
| 43 | public function hasEmptySlots(): bool |
||
| 53 | |||
| 54 | public function hasRunningProcesses(): bool |
||
| 64 | |||
| 65 | public function triggerProcessTermination() |
||
| 71 | } |
||
| 72 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..