Fix and suppress static analyze errors

This commit is contained in:
2022-09-11 23:05:38 +03:00
parent bd8d13692f
commit 350f08c2c1
7 changed files with 33 additions and 21 deletions

View File

@@ -141,6 +141,6 @@ final class ClientConfig
'user_agent' => $this->userAgent,
];
return json_encode($data, JSON_THROW_ON_ERROR | JSON_FORCE_OBJECT);
return json_encode($data, JSON_THROW_ON_ERROR);
}
}