@@ -3,13 +3,13 @@ |
||
3 | 3 | namespace Spatie\EventProjector\Models; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use Illuminate\Support\Facades\DB; |
|
7 | -use Illuminate\Database\Eloquent\Model; |
|
8 | 6 | use Illuminate\Database\Eloquent\Builder; |
7 | +use Illuminate\Database\Eloquent\Model; |
|
8 | +use Illuminate\Support\Facades\DB; |
|
9 | +use Spatie\EventProjector\EventSerializers\EventSerializer; |
|
10 | +use Spatie\EventProjector\Exceptions\InvalidStoredEvent; |
|
9 | 11 | use Spatie\EventProjector\ShouldBeStored; |
10 | 12 | use Spatie\SchemalessAttributes\SchemalessAttributes; |
11 | -use Spatie\EventProjector\Exceptions\InvalidStoredEvent; |
|
12 | -use Spatie\EventProjector\EventSerializers\EventSerializer; |
|
13 | 13 | |
14 | 14 | class StoredEvent extends Model |
15 | 15 | { |