Skip to content

Commit ce39734

Browse files
authored
Fix sample code in migration85.new-features (#5024)
1 parent 5c7e9e1 commit ce39734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appendices/migration85/new-features.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ print $result . PHP_EOL; // Prints "11"
6868
6969
#[\NoDiscard]
7070
function concat(string $a, string $b): string {
71-
return a + b;
71+
return $a . $b;
7272
}
7373
7474
// Warning: The return value of function concat() should either be used or

0 commit comments

Comments
 (0)