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