add adapter repository for snapshot store #4538
Annotations
3 errors
psalm:
src/Snapshot/DefaultSnapshotStore.php#L29
src/Snapshot/DefaultSnapshotStore.php:29:65: InvalidDocblockParamName: Incorrect param name $snapshotAdapters in docblock for Patchlevel\EventSourcing\Snapshot\DefaultSnapshotStore::__construct (see https://psalm.dev/187)
|
psalm:
src/Snapshot/DefaultSnapshotStore.php#L36
src/Snapshot/DefaultSnapshotStore.php:36:69: MixedArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\Snapshot\DefaultAdapterRepository::__construct expects array<string, Patchlevel\EventSourcing\Snapshot\Adapter\SnapshotAdapter>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
psalm
Process completed with exit code 2.
|
Loading