WIP
This commit is contained in:
@@ -41,9 +41,9 @@ class ProductFilterer
|
||||
public function validateRequest(): \Illuminate\Contracts\Validation\Validator
|
||||
{
|
||||
return Validator::make($this->request->all(), [
|
||||
'ids' => ['nullable', 'string', new CommaSeparatedIntegers()],
|
||||
'brands' => ['nullable', 'string', new CommaSeparatedIntegers()],
|
||||
'categories' => ['nullable', 'string', new CommaSeparatedIntegers()],
|
||||
'ids' => ['nullable', 'string', new CommaSeparatedIntegers],
|
||||
'brands' => ['nullable', 'string', new CommaSeparatedIntegers],
|
||||
'categories' => ['nullable', 'string', new CommaSeparatedIntegers],
|
||||
'name' => ['nullable', 'string', 'max:255'],
|
||||
'min_price' => ['nullable', 'numeric'],
|
||||
'max_price' => ['nullable', 'numeric'],
|
||||
|
||||
Reference in New Issue
Block a user