This commit is contained in:
Mekan1206
2026-04-30 19:50:59 +05:00
parent 6dc6802445
commit a07c764dfe
142 changed files with 2709 additions and 1914 deletions

View File

@@ -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'],

View File

@@ -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
{