| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 10 |
| Ratio | 100 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 91 | View Code Duplication | public function __clone() |
|
| 92 | { |
||
| 93 | $this->where = array_map(static function (ConditionGroup $group) { |
||
| 94 | return clone $group; |
||
| 95 | }, $this->where); |
||
| 96 | $this->orders = array_map(static function (Order $order) { |
||
| 97 | return clone $order; |
||
| 98 | }, $this->orders); |
||
| 99 | $this->limit = clone $this->limit; |
||
| 100 | } |
||
| 101 | |||
| 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..