docs: update unique parameter name

Update parameter name of unique validation. Change `callback` to `modifyRuleUsing`.
This commit is contained in:
Oscar Carvajal
2025-04-24 12:25:51 -04:00
committed by GitHub
parent 931151d8d4
commit 4f13fc518d
+1 -1
View File
@@ -185,7 +185,7 @@ By default, the field name will be used as the column to search. You may specify
Field::make('invitation')->exists(column: 'id')
```
You can further customize the rule by passing a [closure](advanced#closure-customization) to the `callback` parameter:
You can further customize the rule by passing a [closure](advanced#closure-customization) to the `modifyRuleUsing` parameter:
```php
use Illuminate\Validation\Rules\Exists;