Commit bdc7d4c
committed
minor #12791 Fix
This PR was merged into the 5.0 branch.
Discussion
----------
Fix `UnicodeString::fromCodePoints()` example
`UnicodeString::fromCodePoints()` returns a `UnicodeString` so the next line `// $foo = 'नमस्ते'` is not correct as it implies the result to be a `string`.
Thus, the result should be casted to a `string` (or `->toString()` should be called) to match the comment.
Commits
-------
6793fbe Fix UnicodeString::fromCodePoints exampleUnicodeString::fromCodePoints() example (jdreesen)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments