| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 22 | 2 | private function __construct(SchedulerInterface $scheduler, MutexInterface $mutex, ActionInterface ...$actions) |
|
| 23 | { |
||
| 24 | 2 | $this->actions = $actions; |
|
|
|
|||
| 25 | 2 | $this->mutex = $mutex; |
|
| 26 | |||
| 27 | $scheduler->schedule(function (): void { |
||
| 28 | 2 | $this->tick(); |
|
| 29 | 2 | }); |
|
| 30 | 2 | } |
|
| 31 | |||
| 61 |
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..