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'],
|
||||
|
||||
@@ -95,7 +95,7 @@ if (! function_exists('sendSMSVerification')) {
|
||||
/**
|
||||
* Send a sms verification code
|
||||
*
|
||||
* @return \App\Models\Verification | null
|
||||
* @return App\Models\Verification | null
|
||||
*/
|
||||
function sendSMSVerification(string|int $phone_number): ?Verification
|
||||
{
|
||||
@@ -167,7 +167,7 @@ if (! function_exists('tmpostChannel')) {
|
||||
/**
|
||||
* Default channel
|
||||
*
|
||||
* @return \App\Models\Shop\Channel
|
||||
* @return App\Models\Shop\Channel
|
||||
*/
|
||||
function tmpostChannel(): Channel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user