From 2113e289b16340b24ea0743a7179ebc9dcbe5e64 Mon Sep 17 00:00:00 2001 From: kylekatarnls Date: Mon, 12 Jun 2023 21:54:57 +0200 Subject: [PATCH] Update method signatures on documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bf352ef..ff245c8 100644 --- a/README.md +++ b/README.md @@ -368,7 +368,7 @@ Checks if the business is closed on a day in the regular schedule. $openingHours->isClosedOn('sunday'); ``` -#### `OpeningHours::isOpenAt(DateTime $dateTime): bool` +#### `OpeningHours::isOpenAt(DateTimeInterface $dateTime): bool` Checks if the business is open on a specific day, at a specific time. @@ -376,7 +376,7 @@ Checks if the business is open on a specific day, at a specific time. $openingHours->isOpenAt(new DateTime('2016-26-09 20:00')); ``` -#### `OpeningHours::isClosedAt(DateTime $dateTime): bool` +#### `OpeningHours::isClosedAt(DateTimeInterface $dateTime): bool` Checks if the business is closed on a specific day, at a specific time.