Skip to content

Commit

Permalink
Remove unused argument.
Browse files Browse the repository at this point in the history
This argument does nothing so we don't need it anymore.
  • Loading branch information
markstory committed Jan 2, 2016
1 parent 32dbad5 commit 6ae503d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Validation/Validation.php
Expand Up @@ -847,11 +847,10 @@ protected static function _check($check, $regex)
* Luhn algorithm
*
* @param string|array $check Value to check.
* @param bool $deep If true performs deep check.
* @return bool Success
* @see http://en.wikipedia.org/wiki/Luhn_algorithm
*/
public static function luhn($check, $deep = false)
public static function luhn($check)
{
if (!is_scalar($check) || (int)$check === 0) {
return false;
Expand Down

0 comments on commit 6ae503d

Please sign in to comment.