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 Jul 22, 2018
1 parent e0f3b35 commit 297a1c7
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 297a1c7

Please sign in to comment.