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