fix: Add more typing informations.

This commit is contained in:
Pol Dellaiera
2021-11-18 15:23:44 +01:00
parent 17ef963924
commit d1935f96e7
3 changed files with 7 additions and 3 deletions

View File

@@ -6,12 +6,14 @@ use Chill\MainBundle\Entity\Center;
interface CenterResolverInterface
{
/**
* @param object $entity
*/
public function supports($entity, ?array $options = []): bool;
/**
* @param $entity
* @param array|null $options
* @return Center|array|Center[]
* @param object $entity
* @return Center|Center[]
*/
public function resolveCenter($entity, ?array $options = []);