Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 25, 2023
1 parent d3f3ab7 commit 82be12a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/OpeningHours.php
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ public function flatMapExceptions(callable $callback): array
public function every(callable $callback): bool
{
return $this->filter(
static fn (OpeningHoursForDay $day) => !$callback($day),
static fn (OpeningHoursForDay $day) => ! $callback($day),
) === [];
}

Expand Down
2 changes: 1 addition & 1 deletion src/OpeningHoursSpecificationParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getOpeningHours(): array
}

/**
* Regular opening hours
* Regular opening hours.
*/
private function addDaysOfWeek(
array $dayOfWeek,
Expand Down
2 changes: 1 addition & 1 deletion tests/OpeningHoursTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ public function it_can_determine_that_its_open_now()
/** @test */
public function it_can_use_day_enum()
{
$openingHours = new class () extends OpeningHours
$openingHours = new class() extends OpeningHours
{
public readonly array $days;

Expand Down

0 comments on commit 82be12a

Please sign in to comment.