Skip to content

Commit 713c6e7

Browse files
committed
Linter
1 parent 14dc886 commit 713c6e7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/BunnyCDNAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function mimeType(string $path): FileAttributes
299299
try {
300300
$object = $this->getObject($path);
301301

302-
if($object instanceof DirectoryAttributes) {
302+
if ($object instanceof DirectoryAttributes) {
303303
throw new TypeError();
304304
}
305305

tests/FlysystemTestSuite.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use League\Flysystem\FilesystemException;
1313
use League\Flysystem\InMemory\InMemoryFilesystemAdapter;
1414
use League\Flysystem\StorageAttributes;
15+
use League\Flysystem\UnableToRetrieveMetadata;
1516
use League\Flysystem\Visibility;
1617
use Mockery;
1718
use PlatformCommunity\Flysystem\BunnyCDN\BunnyCDNAdapter;
@@ -292,7 +293,7 @@ public function test_regression_issue_29()
292293
{
293294
$client = new MockClient(self::STORAGE_ZONE, 'api-key');
294295

295-
for($i = 0; $i < 10; $i++) {
296+
for ($i = 0; $i < 10; $i++) {
296297
$client->add_response(
297298
new Response(200, [], json_encode(
298299
[

0 commit comments

Comments
 (0)