Skip to content

Commit 45636fd

Browse files
fix flysystem tests (#20)
1 parent b4071a4 commit 45636fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"require": {
2727
"php": "^8.1",
2828
"league/flysystem": "^3.28",
29-
"azure-oss/storage": "^1.2"
29+
"azure-oss/storage": "^1.4"
3030
},
3131
"require-dev": {
3232
"laravel/pint": "^1.16",

src/AzureBlobStorageAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function copy(string $source, string $destination, Config $config): void
281281
$sourceBlobClient = $this->containerClient->getBlobClient($this->prefixer->prefixPath($source));
282282
$targetBlobClient = $this->containerClient->getBlobClient($this->prefixer->prefixPath($destination));
283283

284-
$targetBlobClient->copyFromUri($sourceBlobClient->uri);
284+
$targetBlobClient->syncCopyFromUri($sourceBlobClient->uri);
285285
} catch (\Throwable $e) {
286286
throw UnableToCopyFile::fromLocationTo($source, $destination, $e);
287287
}

0 commit comments

Comments
 (0)