Passed
Branch develop (c39a15)
by Nikita
14:54
created
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
         if (!Collection::hasMacro('paginate')) {
26 26
             Collection::macro('paginate',
27
-                function ($perPage = 15, $page = null, $options = []) {
27
+                function($perPage = 15, $page = null, $options = []) {
28 28
                     $page = $page ?: (Paginator::resolveCurrentPage() ?: 1);
29 29
                     return (new LengthAwarePaginator(
30 30
                         $this->forPage($page, $perPage), $this->count(), $perPage, $page, $options))
Please login to merge, or discard this patch.
app/Repositories/UserRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             $user->servers()->sync($fields['servers']);
61 61
             DB::table('permissions')
62 62
                 ->where('entity_id', '=', $user->id)
63
-                ->whereIn('ability_id', function ($query) use ($fields) {
63
+                ->whereIn('ability_id', function($query) use ($fields) {
64 64
                     $query->select('id')
65 65
                         ->from('abilities')
66 66
                         ->where('entity_type', '=', Server::class)
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             $user->servers()->detach();
72 72
             DB::table('permissions')
73 73
                 ->where('entity_id', '=', $user->id)
74
-                ->whereIn('ability_id', function ($query) {
74
+                ->whereIn('ability_id', function($query) {
75 75
                     $query->select('id')
76 76
                         ->from('abilities')
77 77
                         ->where('entity_type', '=', Server::class);
Please login to merge, or discard this patch.
app/Http/Controllers/GdaemonAPI/ServersTasksController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function getList(DedicatedServer $dedicatedServer)
20 20
     {
21
-        return ServerTask::whereIn("server_id", function ($query) use ($dedicatedServer) {
21
+        return ServerTask::whereIn("server_id", function($query) use ($dedicatedServer) {
22 22
             $query->select('id')
23 23
                 ->from('servers')
24 24
                 ->where('ds_id', $dedicatedServer->id);
Please login to merge, or discard this patch.
app/Models/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
         if ($this->gameMod != null && is_array($this->gameMod->vars)) {
213 213
             foreach ($this->gameMod->vars as $var) {
214 214
                 $varname = $var['var'];
215
-                $aliases[ $varname ] = isset($this->vars[$varname])
215
+                $aliases[$varname] = isset($this->vars[$varname])
216 216
                     ? $this->vars[$varname]
217 217
                     : $var['default'];
218 218
             }
Please login to merge, or discard this patch.