Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #3570 Callback: [Validator, validate] expects validate to be stat…
…ic (nixilla) This PR was merged into the 2.4 branch. Discussion ---------- Callback: [Validator, validate] expects validate to be static Otherwise you'll get: ``` ContextErrorException: Runtime Notice: call_user_func() expects parameter 1 to be a valid callback, non-static method Vendor\Package\Validator::validate() should not be called statically in Symfony/Component/Validator/Constraints/CallbackValidator.php ``` Commits ------- 027bc97 Callback: [Validator, validate] expects validate to be static
- Loading branch information