Skip to content

Commit

Permalink
add __debugInfo() to CurlHttpDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
pavarnos committed Aug 14, 2018
1 parent 772cc41 commit c0ab4fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Threema/MsgApi/HttpDriver/CurlHttpDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ public function postJson(JsonRequestInterface $command): Response
return $this->call($command, $options, $params);
}

public function __debugInfo()
{
// so the threema secret is not exposed in server logs
return [];
}

/**
* @param \Closure $progress
* @return array
Expand Down

0 comments on commit c0ab4fc

Please sign in to comment.