1 | <?php |
||
7 | class Service implements ServiceInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var ServiceInterface |
||
11 | */ |
||
12 | private $service; |
||
13 | |||
14 | /** |
||
15 | * @param string $specificationFile |
||
16 | * @param array $defaults |
||
17 | * @param string $cacheDir |
||
18 | * @param bool $debug |
||
19 | * |
||
20 | * @throws InvalidSpecificationException |
||
21 | */ |
||
22 | public function __construct($specificationFile, array $defaults = [], $cacheDir = null, $debug = false) |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function getName() |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getEndpoint() |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function getOperations() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function hasOperation($name) |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function getOperation($name) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function getShapes() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function hasShape($name) |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function getShape($name) |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public function getErrorShapes() |
||
105 | |||
106 | /** |
||
107 | * {@inheritdoc} |
||
108 | */ |
||
109 | public function hasErrorShape($name) |
||
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | */ |
||
117 | public function getErrorShape($name) |
||
125 | } |
||
126 |
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..