From e8439c6b405912bb0d9bbf80bc4c9e567bd14422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 17 Nov 2026 19:00:58 +0100 Subject: [PATCH] releases/8.6: Improve phrasing for bc_constructor_return --- public/releases/8.6/languages/en.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/releases/8.6/languages/en.php b/public/releases/8.6/languages/en.php index 000fb68ecb..a6d3179ad1 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -58,7 +58,7 @@ 'bc_title' => 'Deprecations and backward compatibility breaks', 'bc_return_in_finally' => 'Using return inside a finally block is now deprecated, as it silently discards exceptions and overrides values returned from the try or catch block.', - 'bc_constructor_return' => 'Returning a value from __construct() or __destruct() and making them generators is now deprecated. Declaring a nullable return type for __debugInfo() is also deprecated.', + 'bc_constructor_return' => 'Returning a value from __construct() or __destruct() is now deprecated, as is making them generators. Declaring a nullable return type for __debugInfo() is also deprecated.', 'bc_reserved_identifiers' => 'Using let or is as the name of a class, function, or constant is now deprecated. Using _ as a constant name, namespace as a class constant name, or readonly as a function name is also deprecated.', 'bc_mbregex' => 'The mbstring regular expression functions such as mb_ereg() and mb_split() have been deprecated, as the underlying Oniguruma library is no longer maintained. PCRE functions with the u modifier can be used instead.', 'bc_type_aliases' => 'The is_double(), is_long(), is_integer(), and doubleval() aliases have been deprecated. Use is_float(), is_int(), and floatval() instead.',