mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Apply symplify checkers.
This commit is contained in:
parent
d0b1024d80
commit
349ab706cc
6 changed files with 17 additions and 11 deletions
|
@ -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']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue