1 | <?php |
||
9 | class StreamReader implements ResourceReader |
||
10 | { |
||
11 | /** |
||
12 | * @var \Alchemy\Zippy\Resource\Resource |
||
13 | */ |
||
14 | private $resource; |
||
15 | |||
16 | /** |
||
17 | * @var resource[] |
||
18 | */ |
||
19 | private $streams = []; |
||
20 | |||
21 | /** |
||
22 | * @param ResourceUri $resource |
||
23 | */ |
||
24 | public function __construct(ResourceUri $resource) |
||
28 | |||
29 | public function __destruct() |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getContents() |
||
43 | |||
44 | /** |
||
45 | * @return resource |
||
46 | */ |
||
47 | public function getContentsAsStream() |
||
59 | } |
||
60 |
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..