mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-02 08:19:33 +00:00
Applied rector suggestions
This commit is contained in:
parent
4106bcef5f
commit
20f32c7f12
170 changed files with 808 additions and 761 deletions
|
|
@ -45,9 +45,7 @@ class PermissionsType extends AbstractType
|
|||
$resolver->setDefaults([
|
||||
'show_legend' => true,
|
||||
'show_presets' => false,
|
||||
'show_dependency_notice' => static function (Options $options) {
|
||||
return !$options['disabled'];
|
||||
},
|
||||
'show_dependency_notice' => static fn(Options $options) => !$options['disabled'],
|
||||
'constraints' => static function (Options $options) {
|
||||
if (!$options['disabled']) {
|
||||
return [new NoLockout()];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue