Skip to content

Commit 0caf9b4

Browse files
committed
Change validation message to include the Country Code format that is failing validation (either ISO3166-A2 or -A3)
1 parent 979af67 commit 0caf9b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Three.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function passes($attribute, $value)
3737
*/
3838
public function message()
3939
{
40-
return 'Invalid country code.';
40+
return 'Invalid ISO3166-A3 country code.';
4141
}
4242
}

src/Two.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function passes($attribute, $value)
3737
*/
3838
public function message()
3939
{
40-
return 'Invalid country code.';
40+
return 'Invalid ISO3166-A2 country code.';
4141
}
4242
}

0 commit comments

Comments
 (0)