| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Period; | 
| 4 | 4 | |
| 5 | -use Iterator; | |
| 6 | -use Countable; | |
| 7 | 5 | use ArrayAccess; | 
| 6 | +use Countable; | |
| 7 | +use Iterator; | |
| 8 | 8 | |
| 9 | 9 | class PeriodCollection implements ArrayAccess, Iterator, Countable | 
| 10 | 10 |  { | 
| @@ -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 |  { |