| 1 | <?php |
||
| 14 | class StaticValue extends AbstractRoute |
||
| 15 | { |
||
| 16 | protected $value; |
||
| 17 | /** @var ReflectionFunctionAbstract */ |
||
| 18 | protected $reflection; |
||
| 19 | |||
| 20 | 13 | public function __construct($method, $pattern, $value) |
|
| 26 | |||
| 27 | 10 | public function getReflection($method) |
|
| 31 | |||
| 32 | 10 | public function runTarget($method, &$params) |
|
| 36 | |||
| 37 | 10 | public function returnValue() |
|
| 41 | } |
||
| 42 |
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..