We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 19 | final class Result |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var bool |
||
| 23 | */ |
||
| 24 | private $isValid; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var mixed |
||
| 28 | */ |
||
| 29 | private $input; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var Rule |
||
| 33 | */ |
||
| 34 | private $rule; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var Rule[] |
||
| 38 | */ |
||
| 39 | private $children; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @var array |
||
| 43 | */ |
||
| 44 | private $properties; |
||
| 45 | |||
| 46 | 15 | public function __construct(bool $isValid, $input, Rule $rule, array $properties = [], Result ...$children) |
|
| 54 | |||
| 55 | 13 | public function isValid(): bool |
|
| 59 | |||
| 60 | 13 | public function getInput() |
|
| 64 | |||
| 65 | 13 | public function getRule(): Rule |
|
| 69 | |||
| 70 | 13 | public function getChildren(): array |
|
| 74 | |||
| 75 | 13 | public function getProperties(): array |
|
| 79 | |||
| 80 | 6 | public function mergeProperties(array $properties = []): Result |
|
| 90 | |||
| 91 | 6 | public function invert(): Result |
|
| 101 | } |
||
| 102 |
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..