1 | <?php |
||
11 | class Request extends AbstractRequest |
||
12 | { |
||
13 | /** |
||
14 | * The request body. |
||
15 | * |
||
16 | * @var array |
||
17 | * |
||
18 | * @JMS\Type("Speicher210\Fastbill\Api\Service\Subscription\Update\RequestData") |
||
19 | * @JMS\SerializedName("DATA") |
||
20 | */ |
||
21 | protected $data; |
||
22 | |||
23 | /** |
||
24 | * Constructor. |
||
25 | * |
||
26 | * @param RequestData $requestData The data for the request. |
||
27 | */ |
||
28 | 3 | public function __construct(RequestData $requestData = null) |
|
29 | { |
||
30 | 3 | parent::__construct(); |
|
31 | 3 | $this->data = $requestData; |
|
|
|||
32 | 3 | } |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 3 | public function getService() |
|
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..