Skip to content

Commit 84cbf6d

Browse files
committed
Fix sample code in migration85.new-features
php/doc-en@ce39734
1 parent 238e231 commit 84cbf6d

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,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ec45af749649dc0d6a23eaedeed1b601f7460813 Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: ce397343296708654c8cdac774e23a9ee47ab27d Maintainer: mumumu Status: ready -->
44
<sect1 xml:id="migration85.new-features" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<title>新機能</title>
66

@@ -75,7 +75,7 @@ print $result . PHP_EOL; // Prints "11"
7575
7676
#[\NoDiscard]
7777
function concat(string $a, string $b): string {
78-
return a + b;
78+
return $a . $b;
7979
}
8080
8181
// Warning: The return value of function concat() should either be used or

0 commit comments

Comments
 (0)