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

@@ -5,6 +5,7 @@ namespace App\Rules;
use Closure;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Support\Facades\DB;
use Illuminate\Translation\PotentiallyTranslatedString;
class ProductStockIsAvailable implements ValidationRule
{
@@ -18,7 +19,7 @@ class ProductStockIsAvailable implements ValidationRule
/**
* Run the validation rule.
*
* @param \Closure(string): \Illuminate\Translation\PotentiallyTranslatedString $fail
* @param Closure(string): PotentiallyTranslatedString $fail
*/
public function validate(string $attribute, mixed $value, Closure $fail): void
{