Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
57 | public function dispatch($method) |
||
58 | { |
||
59 | $this->assertThatMethodExist($method); |
||
60 | |||
61 | $method = $this->reflection->getMethod($method); |
||
62 | $arguments = MessageMapperBuilder::normalizeParameters($method->getParameters(), $this->data); |
||
63 | |||
64 | return $method->invokeArgs($this->object, $arguments); |
||
65 | } |
||
66 | |||
85 |
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..