@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Period; |
| 4 | 4 | |
| 5 | -use DateTime; |
|
| 6 | -use DatePeriod; |
|
| 7 | 5 | use DateInterval; |
| 6 | +use DatePeriod; |
|
| 7 | +use DateTime; |
|
| 8 | 8 | use DateTimeImmutable; |
| 9 | 9 | use DateTimeInterface; |
| 10 | 10 | use IteratorAggregate; |
| 11 | +use Spatie\Period\Exceptions\CannotComparePeriods; |
|
| 11 | 12 | use Spatie\Period\Exceptions\InvalidDate; |
| 12 | 13 | use Spatie\Period\Exceptions\InvalidPeriod; |
| 13 | -use Spatie\Period\Exceptions\CannotComparePeriods; |
|
| 14 | 14 | |
| 15 | 15 | class Period implements IteratorAggregate |
| 16 | 16 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Period; |
| 4 | 4 | |
| 5 | +use ArrayAccess; |
|
| 5 | 6 | use Closure; |
| 6 | -use Iterator; |
|
| 7 | 7 | use Countable; |
| 8 | -use ArrayAccess; |
|
| 8 | +use Iterator; |
|
| 9 | 9 | |
| 10 | 10 | class PeriodCollection implements ArrayAccess, Iterator, Countable |
| 11 | 11 | { |