Fixed static analysis issues

This commit is contained in:
Jan Böhmer 2023-12-03 00:05:41 +01:00
parent 0445b87567
commit d976865e7a
3 changed files with 4 additions and 4 deletions

View file

@ -48,6 +48,7 @@ class KicadFieldAutocompleteType extends AbstractType
'file' => fn(Options $options) => match ($options['type']) {
self::TYPE_FOOTPRINT => self::FOOTPRINT_PATH,
self::TYPE_SYMBOL => self::SYMBOL_PATH,
default => throw new \InvalidArgumentException('Invalid type'),
}
]);
}