mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-03 20:49:41 +00:00
FIX: PHPStan
This commit is contained in:
@@ -44,7 +44,7 @@ readonly class PersonUpsertHandler
|
||||
{
|
||||
// 1. Retrieve definition
|
||||
$definition = $this->personIdentifierDefinitionRepository->find($message->personIdentifierDefinitionId);
|
||||
if (!$definition) {
|
||||
if (null === $definition) {
|
||||
throw new \RuntimeException('PersonIdentifierDefinition not found for id '.$message->personIdentifierDefinitionId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user