type fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user