We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | 15 | public function __construct(bool $isValid, $input, Rule $rule, array $properties = [], Result ...$children) |
|
| 47 | { |
||
| 48 | 15 | $this->isValid = $isValid; |
|
| 49 | 15 | $this->input = $input; |
|
| 50 | 15 | $this->rule = $rule; |
|
| 51 | 15 | $this->properties = $properties; |
|
| 52 | 15 | $this->children = $children; |
|
|
|
|||
| 53 | 15 | } |
|
| 54 | |||
| 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..