From c1762c5cb27addbe75a0c7960ba940ae2b2a8329 Mon Sep 17 00:00:00 2001 From: andrewlavens Date: Fri, 3 Nov 2023 09:50:29 +0000 Subject: [PATCH] Pluralize years and months in function add/sub year or month is now addyears and submonths --- docs/en/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index 7a201cd..484800c 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -124,8 +124,8 @@ a granular way:: You can also modify parts of the datetime relatively:: $future = Chronos::create() - ->addYear(1) - ->subMonth(2) + ->addYears(1) + ->subMonths(2) ->addDays(15) ->addHours(20) ->subMinutes(2);