@@ -31,6 +31,9 @@ |
||
| 31 | 31 | $this->storedEventModel::store($event); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $event |
|
| 36 | + */ |
|
| 34 | 37 | private function shouldBeStored($event): bool |
| 35 | 38 | { |
| 36 | 39 | if (! class_exists($event)) { |
@@ -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 | { |