Skip to content

Commit

Permalink
Code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdierich committed Feb 9, 2020
1 parent bc155b6 commit e5eed70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/lang/de/messages.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

return [
'vat_number' => 'Ungültige Umsatzsteuernummer.',
'vat_number' => 'Die USt-IdNr. ist ungültig.',
];
2 changes: 1 addition & 1 deletion resources/lang/en/messages.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

return [
'vat_number' => 'Invalid vat number.',
'vat_number' => 'The VAT No. is invalid.',
];
2 changes: 1 addition & 1 deletion src/Rules/VatFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class VatFormat implements Rule
*/
public function passes($attribute, $value)
{
return app('vat_format')->isValid($value);
return app('vat-format')->isValid($value);
}

/**
Expand Down

0 comments on commit e5eed70

Please sign in to comment.