[*] MQ мелкие правки json

This commit is contained in:
rsgrinko committed 2022-07-06 11:59:14 +03:00
1 parent bdb8920d0d
commit 0f206c2acc
1 file changed
+4 -1
+4 -1
View File
@@ -106,8 +106,11 @@
*
* @return string
*/
private function convertFromJson(string $json): array
private function convertFromJson(?string $json): array
{
if(empty($json)) {
return [];
}
return json_decode($json, true);
}