mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-29 15:36:07 +00:00
type fixes
This commit is contained in:
@@ -41,14 +41,14 @@ interface Repository
|
||||
/**
|
||||
* Get a new entity.
|
||||
*
|
||||
* @phpstan-return TEntity
|
||||
* @return TEntity
|
||||
*/
|
||||
public function getNew(): Entity;
|
||||
|
||||
/**
|
||||
* Fetch an entity by ID.
|
||||
*
|
||||
* @phpstan-return ?TEntity
|
||||
* @return ?TEntity
|
||||
*/
|
||||
public function getById(string $id): ?Entity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user