|
@@ -32,7 +32,7 @@ |
|
|
block discarded – undo |
|
32
|
32
|
|
|
33
|
33
|
public function getData(string $column, int $urlId, string $startDate, string $endDate): object |
|
34
|
34
|
{ |
|
35
|
|
- if (! in_array($column, ['country', 'region', 'city', 'device_type', 'device_brand', 'device_model', 'os', 'browser', 'referer', 'referer_host'])) { |
|
|
35
|
+ if (!in_array($column, ['country', 'region', 'city', 'device_type', 'device_brand', 'device_model', 'os', 'browser', 'referer', 'referer_host'])) { |
|
36
|
36
|
throw ValidationException::withMessages([ |
|
37
|
37
|
'column' => [__('Unsupported column.')], |
|
38
|
38
|
]); |
Please login to merge, or discard this patch.