Skip to content

Commit 7dda230

Browse files
KratoStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent f9c98f0 commit 7dda230

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Http/Services/FileManagerService.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ public function ajaxGetFilesAndFolders(Request $request)
8787
{
8888
$folder = $this->cleanSlashes($request->get('folder'));
8989

90-
if (!$this->folderExists($folder)) {
90+
if (! $this->folderExists($folder)) {
9191
$folder = '/';
9292
}
9393

9494
$this->setRelativePath($folder);
9595

9696
$order = $request->get('sort');
97-
if (!$order) {
97+
if (! $order) {
9898
$order = config('filemanager.order', 'mime');
9999
}
100100

@@ -189,7 +189,7 @@ public function uploadFile($file, $currentFolder, $visibility, $uploadingFolder
189189
if ($this->storage->putFileAs($currentFolder, $file, $fileName)) {
190190
$this->setVisibility($currentFolder, $fileName, $visibility);
191191

192-
if (!$uploadingFolder) {
192+
if (! $uploadingFolder) {
193193
$this->checkJobs($this->storage, $currentFolder.$fileName);
194194
event(new FileUploaded($this->storage, $currentFolder.$fileName));
195195
}
@@ -206,7 +206,7 @@ public function uploadFile($file, $currentFolder, $visibility, $uploadingFolder
206206
*/
207207
public function downloadFile($file)
208208
{
209-
if (!config('filemanager.buttons.download_file')) {
209+
if (! config('filemanager.buttons.download_file')) {
210210
return response()->json(['success' => false, 'message' => 'File not available for Download'], 403);
211211
}
212212

@@ -245,7 +245,7 @@ public function getFileInfo($file)
245245
*/
246246
public function getFileInfoAsArray($file)
247247
{
248-
if (!$this->storage->exists($file)) {
248+
if (! $this->storage->exists($file)) {
249249
return [];
250250
}
251251

0 commit comments

Comments
 (0)