diff --git a/phpcs.xml b/phpcs.xml index d0b111a..3db89c4 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -2,8 +2,8 @@ - + ./src ./tests diff --git a/src/Store/PdoSqlSnapshotStore.php b/src/Store/PdoSqlSnapshotStore.php index 3f66231..c5e89bf 100644 --- a/src/Store/PdoSqlSnapshotStore.php +++ b/src/Store/PdoSqlSnapshotStore.php @@ -79,8 +79,7 @@ protected function pdoErrorCheck(PDOStatement $statement) /** * Stores an aggregate snapshot * - * @phpstan-ignore Generic.Files.LineLength.TooLong - * @param \Phauthentic\SnapshotStore\SnapshotInterface $snapshot Snapshot + * @param SnapshotInterface $snapshot Snapshot * @return void */ public function store(SnapshotInterface $snapshot): void @@ -115,7 +114,7 @@ protected function mapSnapshotToArray(SnapshotInterface $snapshot): array * Gets an aggregate snapshot if one exist * * @param string $aggregateId Aggregate Id - * @return null|\Phauthentic\SnapshotStore\SnapshotInterface + * @return null|SnapshotInterface */ public function get(string $aggregateId): ?SnapshotInterface { @@ -144,7 +143,7 @@ public function get(string $aggregateId): ?SnapshotInterface * Turns the data array from PDO into a snapshot DTO * * @param array $data Data - * @return \Phauthentic\SnapshotStore\SnapshotInterface + * @return SnapshotInterface */ protected function toSnapshot(array $data): SnapshotInterface {