It seems like $children of type array<integer,object<Respect\Validation\Result>> is incompatible with the declared type array<integer,object<Respect\Validation\Rule>> of property $children.
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..
Loading history...
53
15
}
54
55
13
public function isValid(): bool
56
{
57
13
return $this->isValid;
58
}
59
60
13
public function getInput()
61
{
62
13
return $this->input;
63
}
64
65
13
public function getRule(): Rule
66
{
67
13
return $this->rule;
68
}
69
70
13
public function getChildren(): array
71
{
72
13
return $this->children;
73
}
74
75
13
public function getProperties(): array
76
{
77
13
return $this->properties;
78
}
79
80
6
public function mergeProperties(array $properties = []): Result
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..