mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 19:19:29 +00:00
Anpassung aus Analyse
This commit is contained in:
parent
68e7ffa452
commit
d80ec94227
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class DataSourceJsonType extends AbstractType
|
|||
* @param string $json
|
||||
* @return bool
|
||||
*/
|
||||
private static function isValidJson(string $json): bool
|
||||
public static function isValidJson(string $json): bool
|
||||
{
|
||||
json_decode($json);
|
||||
return json_last_error() === JSON_ERROR_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue