mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-07 11:39:30 +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
|
* @param string $json
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
private static function isValidJson(string $json): bool
|
public static function isValidJson(string $json): bool
|
||||||
{
|
{
|
||||||
json_decode($json);
|
json_decode($json);
|
||||||
return json_last_error() === JSON_ERROR_NONE;
|
return json_last_error() === JSON_ERROR_NONE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue