@@ -656,6 +656,7 @@ |
||
656 | 656 | |
657 | 657 | /** |
658 | 658 | * Create new file as a child from this collection. |
659 | + * @param string $name |
|
659 | 660 | */ |
660 | 661 | public function addFile($name, ?ObjectId $session = null, array $attributes = [], int $conflict = NodeInterface::CONFLICT_NOACTION, bool $clone = false): File |
661 | 662 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Balloon\Filesystem\Exception; |
18 | 18 | use Balloon\Filesystem\Storage\Adapter\AdapterInterface as StorageAdapterInterface; |
19 | 19 | use Balloon\Hook; |
20 | -use Balloon\Server\User; |
|
21 | 20 | use Generator; |
22 | 21 | use MimeType\MimeType; |
23 | 22 | use function MongoDB\BSON\fromJSON; |