Commit 6a19160
committed
Avoid unnecessary concatenation in
When a type corresponds to an iterator that may be null, the string
representation is known ahead of time to be "?iterable". Use
`ZSTR_INIT_LITERAL()` rather than building up a string with
`zend_string_concat2()` from a "?" and the "iterable" known string.zend_named_reflection_type_to_string()
1 parent 5dfab10 commit 6a19160
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3074 | 3074 | | |
3075 | 3075 | | |
3076 | 3076 | | |
3077 | | - | |
3078 | 3077 | | |
3079 | | - | |
| 3078 | + | |
3080 | 3079 | | |
3081 | | - | |
| 3080 | + | |
3082 | 3081 | | |
3083 | 3082 | | |
3084 | 3083 | | |
| |||
0 commit comments