1 | <?php |
||
15 | class RemoveAllFiles extends Event |
||
16 | { |
||
17 | /** |
||
18 | * Upload directory path |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | public $uploadDir; |
||
23 | |||
24 | /** |
||
25 | * Folder path |
||
26 | * |
||
27 | * @var |
||
28 | */ |
||
29 | public $folderPath; |
||
30 | |||
31 | /** |
||
32 | * RemoveFile constructor. |
||
33 | * |
||
34 | * @param string $uploadDir |
||
35 | * @param string $folderPath |
||
36 | * @param array $config |
||
37 | */ |
||
38 | public function __construct(string $uploadDir, string $folderPath, array $config = []) |
||
45 | } |
||
46 |
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..