Skip to content

Commit e20b9de

Browse files
authored
Merge pull request #31 from florianv/analysis-N46Pr1
Apply fixes from StyleCI
2 parents 6be4822 + b65c896 commit e20b9de

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/AbstractDay.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ abstract class AbstractDay implements DayInterface
2727
/**
2828
* Constructor.
2929
*
30-
* @param integer $dayOfWeek The day of week
31-
* @param array $openingIntervals The opening intervals
30+
* @param int $dayOfWeek The day of week
31+
* @param array $openingIntervals The opening intervals
3232
*/
3333
public function __construct($dayOfWeek, array $openingIntervals)
3434
{

src/BusinessInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public function within(\DateTime $date);
3737
* @param \DateTime $end The end date
3838
* @param \DateInterval $interval The interval between two dates
3939
*
40-
* @return \DateTime[]
41-
*
4240
* @throws \LogicException If the start date is not earlier than end date
41+
*
42+
* @return \DateTime[]
4343
*/
4444
public function timeline(\DateTime $start, \DateTime $end, \DateInterval $interval);
4545

src/Days.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ final class Days
2727
const SUNDAY = 7;
2828

2929
private static $strings = [
30-
self::MONDAY => 'Monday',
31-
self::TUESDAY => 'Tuesday',
30+
self::MONDAY => 'Monday',
31+
self::TUESDAY => 'Tuesday',
3232
self::WEDNESDAY => 'Wednesday',
33-
self::THURSDAY => 'Thursday',
34-
self::FRIDAY => 'Friday',
35-
self::SATURDAY => 'Saturday',
36-
self::SUNDAY => 'Sunday'
33+
self::THURSDAY => 'Thursday',
34+
self::FRIDAY => 'Friday',
35+
self::SATURDAY => 'Saturday',
36+
self::SUNDAY => 'Sunday',
3737
];
3838

3939
/**

0 commit comments

Comments
 (0)