pCloud\Sdk\File::delete(): Return value must be of type stdClass, bool returned
Method: delete
Class: pCloud\Sdk\File
public function delete(int $fileId): stdClass
{
$response = $this->request->get("deletefile", array("fileid" => $fileId));
return property_exists($response, 'metadata') ? $response->metadata->isdeleted : $response;
}