| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function __construct(string $className, EventStore $eventStore, SnapshotStore $snapshotStore) |
||
| 23 | { |
||
| 24 | parent::__construct( |
||
| 25 | $eventStore, |
||
| 26 | AggregateType::fromAggregateRootClass($className), |
||
| 27 | new AggregateTranslator(), |
||
| 28 | $snapshotStore, |
||
| 29 | null, |
||
| 30 | true |
||
| 31 | ); |
||
| 32 | |||
| 33 | $this->className = $className; |
||
| 34 | } |
||
| 35 | |||
| 51 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.