phpstan 1.5.6

This commit is contained in:
Dylan K. Taylor
2022-04-15 16:21:05 +01:00
parent f7465f55e7
commit a0e47b5a64
3 changed files with 9 additions and 9 deletions

View File

@ -1606,7 +1606,7 @@ class Server{
"reportPaste" => base64_encode($dump->getEncodedData())
], 10, [], $postUrlError);
if($reply !== null && ($data = json_decode($reply->getBody())) !== null){
if($reply !== null && is_object($data = json_decode($reply->getBody()))){
if(isset($data->crashId) && isset($data->crashUrl)){
$reportId = $data->crashId;
$reportUrl = $data->crashUrl;