Skip to content

Commit 50e912b

Browse files
committed
Fix sample code in migration85.new-features
1 parent da09cb2 commit 50e912b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appendices/migration85/new-features.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: ec45af749649dc0d6a23eaedeed1b601f7460813 Maintainer: mowangjuanzi Status: ready -->
2+
<!-- EN-Revision: ce397343296708654c8cdac774e23a9ee47ab27d Maintainer: mowangjuanzi Status: ready -->
33
<sect1 xml:id="migration85.new-features" xmlns:xlink="http://www.w3.org/1999/xlink">
44
<title>新功能</title>
55

@@ -65,7 +65,7 @@ print $result . PHP_EOL; // Prints "11"
6565
6666
#[\NoDiscard]
6767
function concat(string $a, string $b): string {
68-
return a + b;
68+
return a . b;
6969
}
7070
7171
// concat() 的返回值应要么被使用,要么通过在 xxx.php 中将其强制转换为 (void) 来有意忽略。

0 commit comments

Comments
 (0)