mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Fixed some inspection issues.
This commit is contained in:
parent
639829f5c5
commit
8e6bc25d2e
19 changed files with 39 additions and 40 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue