| 1 | <?php |
||
| 11 | class PipelineCollection |
||
| 12 | { |
||
| 13 | /** @var Pipeline[] | \SplFixedArray */ |
||
| 14 | private $pipelines; |
||
| 15 | |||
| 16 | 40 | public function __construct(PipelineFactory $pipelineFactory, int $maxProcessNumber = 10) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param AbstractParaunitProcess $process |
||
| 27 | * @return Pipeline |
||
| 28 | * @throws \RuntimeException |
||
| 29 | */ |
||
| 30 | 17 | public function push(AbstractParaunitProcess $process): Pipeline |
|
| 42 | |||
| 43 | 19 | public function hasEmptySlots(): bool |
|
| 53 | |||
| 54 | 19 | public function checkRunningState(): bool |
|
| 66 | } |
||
| 67 |
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..