Skip to content

Commit e601b35

Browse files
committed
Fix even more StyleCI issues
1 parent 0eb29da commit e601b35

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/Http/Controllers/Admin/ServersController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ public function addMount(Server $server, int $mount_id)
391391
$server->mounts()->attach($mount_id);
392392

393393
$this->alert->success('Mount was added successfully.')->flash();
394+
394395
return redirect()->route('admin.servers.view.mounts', $server->id);
395396
}
396397

@@ -406,6 +407,7 @@ public function deleteMount(Server $server, int $mount_id)
406407
$server->mounts()->detach($mount_id);
407408

408409
$this->alert->success('Mount was removed successfully.')->flash();
410+
409411
return redirect()->route('admin.servers.view.mounts', $server->id);
410412
}
411413
}

app/Repositories/Eloquent/MountRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getWithRelations(string $id): Mount
5151
}
5252

5353
/**
54-
* Return mounts available to a server. (ignoring if they are or are not mounted)
54+
* Return mounts available to a server (ignoring if they are or are not mounted).
5555
*
5656
* @param Server $server
5757
* @return \Illuminate\Support\Collection

database/migrations/2020_05_21_192756_add_mount_server_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
use Illuminate\Database\Migrations\Migration;
4-
use Illuminate\Database\Schema\Blueprint;
53
use Illuminate\Support\Facades\Schema;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Database\Migrations\Migration;
66

77
class AddMountServerTable extends Migration
88
{

0 commit comments

Comments
 (0)