File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ public function mimeType(string $path): FileAttributes
299
299
try {
300
300
$ object = $ this ->getObject ($ path );
301
301
302
- if ($ object instanceof DirectoryAttributes) {
302
+ if ($ object instanceof DirectoryAttributes) {
303
303
throw new TypeError ();
304
304
}
305
305
Original file line number Diff line number Diff line change 12
12
use League \Flysystem \FilesystemException ;
13
13
use League \Flysystem \InMemory \InMemoryFilesystemAdapter ;
14
14
use League \Flysystem \StorageAttributes ;
15
+ use League \Flysystem \UnableToRetrieveMetadata ;
15
16
use League \Flysystem \Visibility ;
16
17
use Mockery ;
17
18
use PlatformCommunity \Flysystem \BunnyCDN \BunnyCDNAdapter ;
@@ -292,7 +293,7 @@ public function test_regression_issue_29()
292
293
{
293
294
$ client = new MockClient (self ::STORAGE_ZONE , 'api-key ' );
294
295
295
- for ($ i = 0 ; $ i < 10 ; $ i ++) {
296
+ for ($ i = 0 ; $ i < 10 ; $ i ++) {
296
297
$ client ->add_response (
297
298
new Response (200 , [], json_encode (
298
299
[
You can’t perform that action at this time.
0 commit comments