Commit 9dffe5f
committed
refactor: allow HelloResponseInterface methods to return framework-specific response objects
- Changed json() and render() return types from string to mixed
- Updated docblocks to reflect flexible return type
- Enables implementations to return framework-native response objects
(e.g. Drupal JsonResponse, HtmlResponse, TrustedRedirectResponse)1 parent 642575c commit 9dffe5f
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
0 commit comments