Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit a64d29e

Browse files
author
VladimirBerdnik
committed
Fix callback parameter type in 'unique' function PHPDoc
1 parent 78940c7 commit a64d29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatabaseRuleSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function exists(string $table, string $column = 'NULL', \Closure $callbac
4646
*
4747
* @param string $table
4848
* @param string $column
49-
* @param \Closure|null $callback callback, that will receive \Illuminate\Validation\Rules\Exists $rule
49+
* @param \Closure|null $callback callback, that will receive \Illuminate\Validation\Rules\Unique $rule
5050
* @return GenericRuleSet
5151
*/
5252
public function unique(string $table, string $column = 'NULL', \Closure $callback = null): GenericRuleSet

0 commit comments

Comments
 (0)