This commit is contained in:
Laurent Destailleur 2024-07-13 18:04:13 +02:00
parent a0e4cc9d00
commit 20eef11950

View File

@ -265,6 +265,7 @@ if (!function_exists('json_encode')) {
*/
function json_encode($elements)
{
// @phan-suppress-next-line PhanDeprecatedFunction
return dol_json_encode($elements);
}
}
@ -427,6 +428,7 @@ if (!function_exists('json_decode')) {
*/
function json_decode($json, $assoc = false)
{
// @phan-suppress-next-line PhanDeprecatedFunction
return dol_json_decode($json, $assoc);
}
}