Skip to content

Commit

Permalink
Add defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
David Vandemaele authored Mar 30, 2018
1 parent 31432bd commit 3dd599b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Skeleton/Vat/Check/Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Check {
* @param boolean $ignore_cache
* @return boolean $valid
*/
public static function validate($vat_number, \Country $country, &$reason, $ignore_cache) {
public static function validate($vat_number, \Country $country, &$reason = '', $ignore_cache = false) {
// 1. Check syntax
if (!self::validate_syntax($vat_number, $country)) {
$reason = 'invalid syntax';
Expand Down

0 comments on commit 3dd599b

Please sign in to comment.