Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #18732 [PropertyAccess][DX] Enhance exception that say that some …
…methods are missing if they don't (nykopol) This PR was squashed before being merged into the 2.7 branch (closes #18732). Discussion ---------- [PropertyAccess][DX] Enhance exception that say that some methods are missing if they don't | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18694 | License | MIT | Doc PR | When you try do define a manyToMany association but you don't give an array or \Traversable, the raised exception say that some methods are missing while they don't. This PR check if the adder and setter methods exists and if so, give a exception that pointing on the real problem. Commits ------- c46519b [PropertyAccess][DX] Enhance exception that say that some methods are missing if they don't
- Loading branch information