| 1 | <?php |
||
| 18 | class Job extends Queue\Job |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | */ |
||
| 24 | private $type = QueuedJob::QUEUED; |
||
| 25 | |||
| 26 | public function hydrate(int $type, int $randomID): void |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getTitle(): string |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return int|null |
||
| 43 | */ |
||
| 44 | public function getJobType(): int |
||
| 48 | |||
| 49 | public function getRunAsMemberID(): ?int |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param mixed $item |
||
| 56 | */ |
||
| 57 | public function processItem($item): void |
||
| 62 | } |
||
| 63 |
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..