Skip to content

Commit

Permalink
Merge pull request #176 from lesstif/analysis-q1ORJA
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lesstif authored Jul 22, 2018
2 parents e0f3b35 + 297a1c7 commit e0e1273
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Configuration/AbstractConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function isCookieAuthorizationEnabled()
}

/**
* get default User-Agent String
* get default User-Agent String.
*
* @return string
*/
Expand Down
5 changes: 3 additions & 2 deletions src/JiraClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ protected function filterNullVariable($haystack)
* @param string $context Rest API context (ex.:issue, search, etc..)
* @param string $post_data
* @param string $custom_request [PUT|DELETE]
* @param string $cookieFile cookie file
* @param string $cookieFile cookie file
*
* @throws JiraException
*
Expand Down Expand Up @@ -432,7 +432,7 @@ protected function authorization($ch, $cookieFile = null)
{
// use cookie
if ($this->getConfiguration()->isCookieAuthorizationEnabled()) {
if ($cookieFile === null){
if ($cookieFile === null) {
$cookieFile = $this->getConfiguration()->getCookieFile();
}

Expand Down Expand Up @@ -581,6 +581,7 @@ public function download($url, $outDir, $file, $cookieFile = null)
* setting cookie file path.
*
* @param $cookieFile
*
* @return $this
*/
public function setCookieFile($cookieFile)
Expand Down

0 comments on commit e0e1273

Please sign in to comment.