Skip to content

Commit

Permalink
Update method signatures on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Jun 12, 2023
1 parent c7dba5d commit 2113e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,15 @@ 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.

```php
$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.

Expand Down

0 comments on commit 2113e28

Please sign in to comment.