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 Jun 13, 2022
1 parent 6be4822 commit b65c896
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/AbstractDay.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ abstract class AbstractDay implements DayInterface
/**
* Constructor.
*
* @param integer $dayOfWeek The day of week
* @param array $openingIntervals The opening intervals
* @param int $dayOfWeek The day of week
* @param array $openingIntervals The opening intervals
*/
public function __construct($dayOfWeek, array $openingIntervals)
{
Expand Down
4 changes: 2 additions & 2 deletions src/BusinessInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public function within(\DateTime $date);
* @param \DateTime $end The end date
* @param \DateInterval $interval The interval between two dates
*
* @return \DateTime[]
*
* @throws \LogicException If the start date is not earlier than end date
*
* @return \DateTime[]
*/
public function timeline(\DateTime $start, \DateTime $end, \DateInterval $interval);

Expand Down
12 changes: 6 additions & 6 deletions src/Days.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ final class Days
const SUNDAY = 7;

private static $strings = [
self::MONDAY => 'Monday',
self::TUESDAY => 'Tuesday',
self::MONDAY => 'Monday',
self::TUESDAY => 'Tuesday',
self::WEDNESDAY => 'Wednesday',
self::THURSDAY => 'Thursday',
self::FRIDAY => 'Friday',
self::SATURDAY => 'Saturday',
self::SUNDAY => 'Sunday'
self::THURSDAY => 'Thursday',
self::FRIDAY => 'Friday',
self::SATURDAY => 'Saturday',
self::SUNDAY => 'Sunday',
];

/**
Expand Down

0 comments on commit b65c896

Please sign in to comment.