@@ -87,7 +87,7 @@ |
||
| 87 | 87 | /** |
| 88 | 88 | * @param \Spatie\EventProjector\ShouldBeStored|\Spatie\EventProjector\ShouldBeStored[] $events |
| 89 | 89 | * |
| 90 | - * @return $this |
|
| 90 | + * @return FakeAggregateRoot |
|
| 91 | 91 | */ |
| 92 | 92 | public static function fake($events = []): FakeAggregateRoot |
| 93 | 93 | { |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | namespace Spatie\EventProjector; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Illuminate\Support\Arr; |
|
| 7 | 6 | use Illuminate\Contracts\Support\Arrayable; |
| 8 | -use Spatie\EventProjector\Facades\Projectionist; |
|
| 9 | -use Spatie\EventProjector\Exceptions\InvalidStoredEvent; |
|
| 7 | +use Illuminate\Support\Arr; |
|
| 10 | 8 | use Spatie\EventProjector\EventSerializers\EventSerializer; |
| 9 | +use Spatie\EventProjector\Exceptions\InvalidStoredEvent; |
|
| 10 | +use Spatie\EventProjector\Facades\Projectionist; |
|
| 11 | 11 | |
| 12 | 12 | class StoredEvent implements Arrayable |
| 13 | 13 | { |