refactor: clear out phpstan errors in Validation source and tests
#5379
| Job | Run time |
|---|---|
| 6s | |
| 6s |
Validation source and tests
#5379
| Job | Run time |
|---|---|
| 6s | |
| 6s |