1 | <?php |
||
7 | class Ftp extends Remote |
||
8 | { |
||
9 | /** |
||
10 | * @var Filesystem |
||
11 | */ |
||
12 | private $flySystem; |
||
13 | |||
14 | /** |
||
15 | * Ftp constructor. |
||
16 | * |
||
17 | * @param Filesystem $flySystem |
||
18 | * @param array $metadata |
||
19 | */ |
||
20 | public function __construct(Filesystem $flySystem, array $metadata) |
||
28 | |||
29 | /** |
||
30 | * Deletes the file. |
||
31 | * |
||
32 | * @throws \phpbu\App\Exception |
||
33 | */ |
||
34 | public function unlink() |
||
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..