type fixes

This commit is contained in:
Yuri Kuznetsov
2022-02-17 13:25:25 +02:00
parent 38dd599b1e
commit c3d1c773e0
12 changed files with 124 additions and 72 deletions
@@ -56,6 +56,7 @@ interface Repository
* Store an entity.
*
* @phpstan-param TEntity $entity
* @param array<string,mixed> $options
*/
public function save(Entity $entity, array $options = []): void;
@@ -63,6 +64,7 @@ interface Repository
* Remove an entity.
*
* @phpstan-param TEntity $entity
* @param array<string,mixed> $options
*/
public function remove(Entity $entity, array $options = []): void;
}