mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 23:39:51 +01:00
Fixed coding style.
This commit is contained in:
@@ -103,9 +103,10 @@ class LogDataTable implements DataTableTypeInterface
|
||||
$optionsResolver->setAllowedTypes('mode', 'string');
|
||||
|
||||
$optionsResolver->setNormalizer('filter_elements', function (Options $options, $value) {
|
||||
if (!is_array($value)) {
|
||||
if (! is_array($value)) {
|
||||
return [$value];
|
||||
}
|
||||
|
||||
return $value;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user