Apply symplify checkers.

This commit is contained in:
Jan Böhmer 2020-08-21 21:38:31 +02:00
parent d0b1024d80
commit 349ab706cc
6 changed files with 17 additions and 11 deletions

View file

@ -39,7 +39,10 @@ class LabelProfileRepository extends NamedDBElementRepository
throw new \InvalidArgumentException('Invalid supported_element type given.');
}
return $this->findBy(['options.supported_element' => $type, 'show_in_dropdown' => true], ['name' => 'ASC']);
return $this->findBy([
'options.supported_element' => $type,
'show_in_dropdown' => true,
], ['name' => 'ASC']);
}
/**