Completed
Pull Request — master (#49)
by Freek
01:47
created
src/EventHandlers/EventHandlerCollection.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/EventHandlers/HandlesEvents.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Projectionist.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,9 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.