@@ -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,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Period; |
| 4 | 4 | |
| 5 | -use DateTime; |
|
| 6 | 5 | use DateInterval; |
| 6 | +use DateTime; |
|
| 7 | 7 | use DateTimeImmutable; |
| 8 | 8 | use DateTimeInterface; |
| 9 | +use Spatie\Period\Exceptions\CannotComparePeriods; |
|
| 9 | 10 | use Spatie\Period\Exceptions\InvalidDate; |
| 10 | 11 | use Spatie\Period\Exceptions\InvalidPeriod; |
| 11 | -use Spatie\Period\Exceptions\CannotComparePeriods; |
|
| 12 | 12 | |
| 13 | 13 | class Period |
| 14 | 14 | { |