type fixes

This commit is contained in:
Yuri Kuznetsov
2021-11-08 15:48:16 +02:00
parent e00557885f
commit 95f9206880
3 changed files with 4 additions and 1 deletions
@@ -472,6 +472,8 @@ class RDBRepository implements Repository
}
}
/** @phpstan-var TEntity $entity */
$relation = $this->getRelation($entity, $relationName);
if ($foreign instanceof Entity) {