validator
validator copied to clipboard
fix: add missing construct parameter to override tldMessage property
Problem:
The tldMessage is missing from the constructor so it's not possible to configure it from PHP annotations.
Solution:
Add the missing parameter.
I have not added unit test yet but I can if needed (didn't see similar unit tests in UrlTest.php
).
Please forgive me if this change is already planned and just close my PR.