Skip to content

Commit 21bce75

Browse files
committed
update var name
1 parent 9cb56de commit 21bce75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,14 +569,14 @@ function tr_view($dots, array $data = [], $ext = '.php')
569569
/**
570570
* Validate fields
571571
*
572-
* @param array $options
572+
* @param array $rules
573573
* @param array|null $fields
574574
* @param null $modelClass
575575
* @param bool $run
576576
*
577577
* @return \TypeRocket\Utility\Validator
578578
*/
579-
function tr_validator($options, $fields = null, $modelClass = null, $run = false)
579+
function tr_validator($rules, $fields = null, $modelClass = null, $run = false)
580580
{
581581
return \TypeRocket\Utility\Validator::new(...func_get_args());
582582
}

0 commit comments

Comments
 (0)