From 79a861e07da7180e86fcdcb2f0d894adedfdbe0d Mon Sep 17 00:00:00 2001 From: jb-phpjob <6864389+phpjob@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:26:58 +0200 Subject: [PATCH] fix: change duration to load the correct class in loader (#492) --- src/Psl/Internal/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psl/Internal/Loader.php b/src/Psl/Internal/Loader.php index a59c8e69..51bd3d8a 100644 --- a/src/Psl/Internal/Loader.php +++ b/src/Psl/Internal/Loader.php @@ -871,7 +871,7 @@ final class Loader 'Psl\\DateTime\\Exception\\ParserException' => 'Psl/DateTime/Exception/ParserException.php', 'Psl\\DateTime\\Exception\\UnderflowException' => 'Psl/DateTime/Exception/UnderflowException.php', 'Psl\\DateTime\\DateTime' => 'Psl/DateTime/DateTime.php', - 'Psl\\DateTime\\Duration' => 'Psl/DateTime/Interval.php', + 'Psl\\DateTime\\Duration' => 'Psl/DateTime/Duration.php', 'Psl\\DateTime\\Timestamp' => 'Psl/DateTime/Timestamp.php', ];