Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2022-08-14 19:39:07 +02:00
parent 639829f5c5
commit 8e6bc25d2e
19 changed files with 39 additions and 40 deletions

View file

@ -132,7 +132,7 @@ class AppExtension extends AbstractExtension
{
$tree = $this->treeBuilder->getTreeView(get_class($element), null, $type, $element);
return json_encode($tree);
return json_encode($tree, JSON_THROW_ON_ERROR);
}
/**