| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | 14 | public function __construct($name, $model, array $directives, array $fields, Location $location) |
|
| 36 | { |
||
| 37 | 14 | parent::__construct($location); |
|
| 38 | |||
| 39 | 14 | $this->name = $name; |
|
| 40 | 14 | $this->model = $model; |
|
| 41 | 14 | $this->fields = $fields; |
|
|
|
|||
| 42 | 14 | $this->setDirectives($directives); |
|
| 43 | 14 | } |
|
| 44 | |||
| 108 | } |
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..