From 80c6c911f8c02651668e004da2ab015366bbe826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 17 Nov 2026 18:55:26 +0100 Subject: [PATCH] releases/8.6: Minor phrasing improvement for Duration --- 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..2e02b0d0a9 100644 --- a/public/releases/8.6/languages/en.php +++ b/public/releases/8.6/languages/en.php @@ -31,7 +31,7 @@ 'clamp_title' => 'New clamp() function', 'clamp_description' => 'Ensures that a given value (numeric or otherwise) falls within a specified range. Otherwise, the nearest boundary value is returned.', 'duration_title' => 'New \Time\Duration class', - 'duration_description' => 'The Duration class represents elapsed time as measured by a stopwatch. Its representation is independent of any time and timezone and allows to represent a range of more than 250 years with nanosecond precision. This makes it well-suited to represent timeouts or benchmark timings in an expressive way.', + 'duration_description' => 'The Duration class represents elapsed time as measured by a stopwatch. Its representation is independent of any time and timezone and can represent a range of more than 250 years with nanosecond precision. This makes it well-suited to represent timeouts or benchmark timings in an expressive way.', 'sort_direction_title' => 'New SortDirection enum', 'sort_direction_description' => '

The SortDirection enum provides a shared, type-safe way to express sort order with its Ascending and Descending cases. Previously, every library had to define its own way of representing sort direction, resulting in a mix of incompatible integers, strings, booleans, and custom enums. Since SortDirection is built into PHP, libraries can accept it in their public APIs without needing adapter code.

Learn more about this feature in The PHP Foundation’s blog.

', 'stream_error_handling_title' => 'Stream Error Handling',