| 1 | <?php |
||
| 8 | class JsonPayload implements ParametersBagInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array $json |
||
| 12 | */ |
||
| 13 | private $payload; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $jsonPayload |
||
| 17 | * @return ParametersBagInterface |
||
| 18 | */ |
||
| 19 | public function set($jsonPayload): ParametersBagInterface |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $url |
||
| 32 | * @param string $method |
||
| 33 | * @param array $parameters |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function buildParameters(string $url, string $method, array $parameters) |
||
| 43 | } |
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..