Skip to content

Commit

Permalink
Merge pull request #222 from lesstif/analysis-q2nLYP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lesstif authored Dec 18, 2018
2 parents a7fd727 + a45179f commit b0ae381
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 b0ae381

Please sign in to comment.