@@ -3,13 +3,13 @@ |
||
| 3 | 3 | namespace Spatie\OpeningHours; |
| 4 | 4 | |
| 5 | 5 | use DateTime; |
| 6 | -use DateTimeZone; |
|
| 7 | 6 | use DateTimeInterface; |
| 8 | -use Spatie\OpeningHours\Helpers\Arr; |
|
| 9 | -use Spatie\OpeningHours\Helpers\DataTrait; |
|
| 7 | +use DateTimeZone; |
|
| 10 | 8 | use Spatie\OpeningHours\Exceptions\Exception; |
| 11 | 9 | use Spatie\OpeningHours\Exceptions\InvalidDate; |
| 12 | 10 | use Spatie\OpeningHours\Exceptions\InvalidDayName; |
| 11 | +use Spatie\OpeningHours\Helpers\Arr; |
|
| 12 | +use Spatie\OpeningHours\Helpers\DataTrait; |
|
| 13 | 13 | |
| 14 | 14 | class OpeningHours |
| 15 | 15 | { |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\OpeningHours; |
| 4 | 4 | |
| 5 | -use Countable; |
|
| 6 | 5 | use ArrayAccess; |
| 7 | 6 | use ArrayIterator; |
| 7 | +use Countable; |
|
| 8 | 8 | use IteratorAggregate; |
| 9 | +use Spatie\OpeningHours\Exceptions\OverlappingTimeRanges; |
|
| 9 | 10 | use Spatie\OpeningHours\Helpers\Arr; |
| 10 | 11 | use Spatie\OpeningHours\Helpers\DataTrait; |
| 11 | -use Spatie\OpeningHours\Exceptions\OverlappingTimeRanges; |
|
| 12 | 12 | |
| 13 | 13 | class OpeningHoursForDay implements ArrayAccess, Countable, IteratorAggregate |
| 14 | 14 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\OpeningHours; |
| 4 | 4 | |
| 5 | -use Spatie\OpeningHours\Helpers\DataTrait; |
|
| 6 | 5 | use Spatie\OpeningHours\Exceptions\InvalidTimeRangeArray; |
| 7 | 6 | use Spatie\OpeningHours\Exceptions\InvalidTimeRangeString; |
| 7 | +use Spatie\OpeningHours\Helpers\DataTrait; |
|
| 8 | 8 | |
| 9 | 9 | class TimeRange |
| 10 | 10 | { |