Skip to content

Commit 79f214c

Browse files
committed
Fix wrong PublicDomainSuffix template
When the input is not a public domain suffix, we should say that it's "not" a a public domain suffix, not that it is one. Reported on: #1539
1 parent 9cbb563 commit 79f214c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Exceptions/PublicDomainSuffixException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class PublicDomainSuffixException extends ValidationException
2222
self::STANDARD => '{{name}} must be a public domain suffix',
2323
],
2424
self::MODE_NEGATIVE => [
25-
self::STANDARD => '{{name}} must be a public domain suffix',
25+
self::STANDARD => '{{name}} must not be a public domain suffix',
2626
],
2727
];
2828
}

0 commit comments

Comments
 (0)