type fixes

This commit is contained in:
Yuri Kuznetsov
2021-11-05 10:55:41 +02:00
parent 1997da4343
commit beb51081d3
13 changed files with 33 additions and 37 deletions
@@ -106,7 +106,7 @@ class AssignmentProcessor
throw new LogicException();
}
/** @var User $user */
/** @var ?User $user */
$user = $this->entityManager->getEntity('User', $userId);
if (!$user) {