@@ -2,11 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\EventProjector\EventHandlers; |
4 | 4 | |
5 | -use Exception; |
|
6 | 5 | use Illuminate\Support\Collection; |
7 | 6 | use Spatie\EventProjector\EventHandlers\EventHandler; |
8 | -use Spatie\EventProjector\Events\EventHandlerFailedHandlingEvent; |
|
9 | -use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
|
10 | 7 | use Spatie\EventProjector\Models\StoredEvent; |
11 | 8 | |
12 | 9 | class EventHandlerCollection |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Spatie\EventProjector\EventHandlers; |
4 | 4 | |
5 | 5 | use Exception; |
6 | +use Illuminate\Support\Collection; |
|
6 | 7 | use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
7 | 8 | use Spatie\EventProjector\Models\StoredEvent; |
8 | -use Illuminate\Support\Collection; |
|
9 | 9 | |
10 | 10 | trait HandlesEvents |
11 | 11 | { |
@@ -10,10 +10,9 @@ |
||
10 | 10 | use Spatie\EventProjector\Events\FinishedEventReplay; |
11 | 11 | use Spatie\EventProjector\Events\ProjectorDidNotHandlePriorEvents; |
12 | 12 | use Spatie\EventProjector\Events\StartingEventReplay; |
13 | +use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
|
13 | 14 | use Spatie\EventProjector\Models\StoredEvent; |
14 | 15 | use Spatie\EventProjector\Projectors\Projector; |
15 | -use Illuminate\Contracts\Container\Container; |
|
16 | -use Spatie\EventProjector\Exceptions\InvalidEventHandler; |
|
17 | 16 | |
18 | 17 | class Projectionist |
19 | 18 | { |