mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-20 19:05:14 +02:00
Fixed some higher level PHPstan issues.
This commit is contained in:
parent
f2f5e0b76e
commit
3328dd968d
9 changed files with 12 additions and 11 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue