Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.8] Fixed validator not failing on custom rule when message is null #29174
changed the title
Fixed validator not failing on custom rule when message is null
Jul 15, 2019
We can also prevent messages from ever returning null since that’s not allowed to prevent any other issues. Might be a cleaner approach.
The return type of message() can be :string since 5.8 requires at least php 7.1.3.