Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Commiteca96b0
committed
ConfigBuilderGenerator: define template types
This helps phpstan to properly identify the return types, in our case for the `$framework->messenger()->transport('async')->dsn(env('MESSENGER_TRANSPORT_DSN'));`Where '->dns()` failed with the following Phpstan error:`Call to an undefined method Symfony\Config\Framework\Messenger\TransportConfig|Symfony\Config\Framework\MessengerConfig::dsn()`1 parentb6d7264 commiteca96b0
File tree
3 files changed
+17
-11
lines changed- src/Symfony/Component/Config
- Builder
- Tests/Builder/Fixtures/ScalarNormalizedTypes/Symfony/Config
- ScalarNormalizedTypes
3 files changed
+17
-11
lines changedLines changed: 12 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 |
| |
132 |
| - | |
| 135 | + | |
133 | 136 |
| |
134 | 137 |
| |
135 | 138 |
| |
| |||
141 | 144 |
| |
142 | 145 |
| |
143 | 146 |
| |
144 |
| - | |
| 147 | + | |
145 | 148 |
| |
146 | 149 |
| |
147 | 150 |
| |
| |||
177 | 180 |
| |
178 | 181 |
| |
179 | 182 |
| |
180 |
| - | |
| 183 | + | |
181 | 184 |
| |
182 | 185 |
| |
183 | 186 |
| |
| |||
280 | 283 |
| |
281 | 284 |
| |
282 | 285 |
| |
| 286 | + | |
| 287 | + | |
| 288 | + | |
283 | 289 |
| |
284 |
| - | |
| 290 | + | |
285 | 291 |
| |
286 | 292 |
| |
287 | 293 |
| |
| |||
312 | 318 |
| |
313 | 319 |
| |
314 | 320 |
| |
315 |
| - | |
| 321 | + | |
316 | 322 |
| |
317 | 323 |
| |
318 | 324 |
| |
| |||
351 | 357 |
| |
352 | 358 |
| |
353 | 359 |
| |
354 |
| - | |
| 360 | + | |
355 | 361 |
| |
356 | 362 |
| |
357 | 363 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
| 51 | + | |
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 |
| - | |
| 77 | + | |
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| |||
92 | 92 |
| |
93 | 93 |
| |
94 | 94 |
| |
95 |
| - | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
|
0 commit comments
Comments
(0)