@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | $portRules = ['nullable', 'numeric', 'digits_between:1,65535', |
15 | 15 | Rule::unique('servers', 'server_port') |
16 | 16 | ->ignore($this->route('server')) |
17 | - ->where(function ($query) { |
|
17 | + ->where(function($query) { |
|
18 | 18 | return $query |
19 | 19 | ->where('ds_id', $this->ds_id) |
20 | 20 | ->where('server_ip', $this->server_ip) |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | }), |
23 | 23 | Rule::unique('servers', 'query_port') |
24 | 24 | ->ignore($this->route('server')) |
25 | - ->where(function ($query) { |
|
25 | + ->where(function($query) { |
|
26 | 26 | return $query |
27 | 27 | ->where('ds_id', $this->ds_id) |
28 | 28 | ->where('server_ip', $this->server_ip) |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | }), |
31 | 31 | Rule::unique('servers', 'rcon_port') |
32 | 32 | ->ignore($this->route('server')) |
33 | - ->where(function ($query) { |
|
33 | + ->where(function($query) { |
|
34 | 34 | return $query |
35 | 35 | ->where('ds_id', $this->ds_id) |
36 | 36 | ->where('server_ip', $this->server_ip) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | 'dir' => ['required', 'string', Rule::unique('servers', 'dir') |
56 | 56 | ->ignore($this->route('server')) |
57 | - ->where(function ($query) { |
|
57 | + ->where(function($query) { |
|
58 | 58 | return $query->where('ds_id', $this->ds_id); |
59 | 59 | })] |
60 | 60 | ]; |