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

Commit 8f06cf1

Browse files
author
VladimirBerdnik
committed
Improve parameters typehints
1 parent ff74efa commit 8f06cf1

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
@@ -32,7 +32,7 @@ public function __construct(array $rules = [])
3232
* @return GenericRuleSet
3333
* @see \Illuminate\Validation\Rules\Exists
3434
*/
35-
public function exists($table, $column = 'NULL', \Closure $callback = null): GenericRuleSet
35+
public function exists(string $table, string $column = 'NULL', \Closure $callback = null): GenericRuleSet
3636
{
3737
$rule = \Illuminate\Validation\Rule::exists($table, $column);
3838
if ($callback !== null) {

0 commit comments

Comments
 (0)