1 | <?php |
||
16 | class PerformanceEventsResponse |
||
17 | { |
||
18 | /** |
||
19 | * @var PerformanceEvent[] |
||
20 | * |
||
21 | * @Type("array<AppBundle\Entity\PerformanceEvent>") |
||
22 | * @Expose |
||
23 | */ |
||
24 | protected $performanceEvents; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | * |
||
29 | * @Type("integer") |
||
30 | * @Accessor(getter="getCount") |
||
31 | * @Expose |
||
32 | */ |
||
33 | protected $count; |
||
34 | |||
35 | /** |
||
36 | * @return PerformanceEvent[] |
||
37 | */ |
||
38 | public function getPerformanceEvents() |
||
42 | |||
43 | /** |
||
44 | * @param mixed $performanceEvents |
||
45 | * @return $this |
||
46 | */ |
||
47 | public function setPerformanceEvents($performanceEvents) |
||
53 | |||
54 | /** |
||
55 | * @return int |
||
56 | */ |
||
57 | public function getCount() |
||
61 | } |
||
62 |
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..