Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
lesstif authored and StyleCIBot committed Dec 18, 2018
1 parent a7fd727 commit a45179f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JiraClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ public function exec($context, $post_data = null, $custom_request = null, $cooki
{
$url = $this->createUrlByContext($context);

if (is_string($post_data)){
if (is_string($post_data)) {
$this->log->addInfo("Curl $custom_request: $url JsonData=".$post_data);
} elseif (is_array($post_data)) {
$this->log->addInfo("Curl $custom_request: $url JsonData=" . json_encode($post_data, JSON_UNESCAPED_UNICODE));
$this->log->addInfo("Curl $custom_request: $url JsonData=".json_encode($post_data, JSON_UNESCAPED_UNICODE));
}

$ch = curl_init();
Expand Down

0 comments on commit a45179f

Please sign in to comment.