mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix phan
This commit is contained in:
parent
a0e4cc9d00
commit
20eef11950
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user