WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b2c4d7f

Browse files
phuclhgithub-actions[bot]
authored andcommitted
Fix styling
1 parent a73476a commit b2c4d7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ImagekitAdapter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function fileExists(string $path): bool
5050
'includeFolder' => true,
5151
]);
5252

53-
return !empty($file->success);
53+
return ! empty($file->success);
5454
}
5555

5656
public function directoryExists(string $path): bool
@@ -207,7 +207,7 @@ public function listContents(string $path, bool $deep): iterable
207207
]);
208208

209209
// If not recursive remove files
210-
if (!$deep) {
210+
if (! $deep) {
211211
foreach ($list->success as $key => $e) {
212212
$pathParts = isset($e->filePath)
213213
? explode('/', $e->filePath)
@@ -323,7 +323,7 @@ protected function searchFile($path): object
323323

324324
protected function upload(string $path, $contents): void
325325
{
326-
if (!($file = $this->getFileFolderName($path))) {
326+
if (! ($file = $this->getFileFolderName($path))) {
327327
return;
328328
}
329329

0 commit comments

Comments
 (0)