Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
75 | 10 | public function inverse() |
|
76 | { |
||
77 | 10 | return new static( |
|
78 | 10 | array_map(static function (ConditionGroup $group) { |
|
79 | 10 | return $group->inverse(); |
|
80 | 10 | }, $this->where), |
|
81 | 10 | array_map(static function (Order $order) { |
|
82 | 10 | return $order->inverse(); |
|
83 | 10 | }, $this->orders), |
|
84 | 10 | $this->limit->inverse() |
|
85 | ); |
||
86 | } |
||
87 | |||
112 |
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..