WIP
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user