Test Setup Failed
Push — develop ( 9f1d41...34699c )
by Nikita
12:58
created
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): void {
63
+                ->whereIn('ability_id', function($query) use ($fields): void {
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): void {
74
+                ->whereIn('ability_id', function($query): void {
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/Repositories/DedicatedServersRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function store(array $attributes)
86 86
     {
87
-        $attributes['ip'] = array_filter($attributes['ip'], function ($value) {
87
+        $attributes['ip'] = array_filter($attributes['ip'], function($value) {
88 88
             return !empty($value);
89 89
         });
90 90
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     public function update(DedicatedServer $dedicatedServer, array $attributes): void
134 134
     {
135
-        $attributes['ip'] = array_filter($attributes['ip'], function ($value) {
135
+        $attributes['ip'] = array_filter($attributes['ip'], function($value) {
136 136
             return !empty($value);
137 137
         });
138 138
 
Please login to merge, or discard this patch.