Commit d0a4427
authored
feat(doctrine): enhance getLinksHandler with method validation and typo suggestions (#6874)
* feat: enhance getLinksHandler with method validation and typo suggestions
- Add strict validation for method existence when handling callable arrays ([ClassName, MethodName]).
- Introduce `findSimilarMethod` to suggest the closest matching method name if a typo is detected.
- Improve error messaging by including suggestions for likely intended methods.
- Ensure robust error handling for `handleLinks` in `getLinksHandler`.
* Coding: apply CsFixer
* Coding: apply CsFixer
* Coding: apply CsFixer
* Coding: apply CsFixer
* Coding: apply CsFixer1 parent 57f15cf commit d0a4427
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
38 | 50 | | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
44 | 67 | | |
0 commit comments