1 | <?php |
||
6 | class CacheResolved implements \JsonSerializable |
||
7 | { |
||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | private $path; |
||
12 | |||
13 | /** |
||
14 | * @var \string[] |
||
15 | */ |
||
16 | private $uris; |
||
17 | |||
18 | /** |
||
19 | * @param string $path |
||
20 | * @param string[]|null $uris |
||
21 | */ |
||
22 | public function __construct($path, array $uris) |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getPath() |
||
35 | |||
36 | /** |
||
37 | * @return \string[] |
||
38 | */ |
||
39 | public function getUris() |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function jsonSerialize() |
||
51 | |||
52 | /** |
||
53 | * @param string $json |
||
54 | * |
||
55 | * @return static |
||
56 | */ |
||
57 | public static function jsonDeserialize($json) |
||
71 | } |
||
72 |
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..