@@ -50,6 +50,9 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | private $given = []; |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param string $aggregateClass |
|
| 55 | + */ |
|
| 53 | 56 | public function __construct($aggregateClass) |
| 54 | 57 | { |
| 55 | 58 | $this->eventStore = new InMemoryEventStore(); |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | * The aggregate ID generated by the AR, or defined somehow else. |
| 260 | 260 | * Can be obtained in order to do further tests if required. |
| 261 | 261 | * |
| 262 | - * @return AggregateId |
|
| 262 | + * @return GenericAggregateId|null |
|
| 263 | 263 | */ |
| 264 | 264 | public function getAggregateId() |
| 265 | 265 | { |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | } |
| 320 | 320 | |
| 321 | 321 | /** |
| 322 | - * @return ObjectClass |
|
| 322 | + * @return string |
|
| 323 | 323 | */ |
| 324 | 324 | protected function getAggregateClass() |
| 325 | 325 | { |