Fixed some higher level PHPstan issues.

This commit is contained in:
Jan Böhmer 2020-10-02 12:42:15 +02:00
parent f2f5e0b76e
commit 3328dd968d
9 changed files with 12 additions and 11 deletions

View file

@ -79,7 +79,7 @@ class BaseEntityAdminForm extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options): void
{
/** @var AbstractStructuralDBElement $entity */
/** @var AbstractStructuralDBElement|LabelProfile|AbstractNamedDBElement $entity */
$entity = $options['data'];
$is_new = null === $entity->getID();