forked fromsymfony/symfony-docs
- Notifications
You must be signed in to change notification settings - Fork0
Commit5c4336a
committed
bugsymfony#3570 Callback: [Validator, validate] expects validate to be static (nixilla)
This PR was merged into the 2.4 branch.Discussion----------Callback: [Validator, validate] expects validate to be staticOtherwise 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 static1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments
Comments
(0)