Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lphkxd committed Sep 7, 2020
1 parent 4143133 commit 04300d5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Validate/Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -1728,6 +1728,11 @@ function arrayHasOnlyInts($array)
return true;
}

function string($value)
{
return is_string($value);
}

/**
* 动态方法 直接调用is方法进行验证
* @access public
Expand Down

0 comments on commit 04300d5

Please sign in to comment.