From 297a1c7e1e60fcb41866636ae76800f884c1ac29 Mon Sep 17 00:00:00 2001 From: KwangSeob Jeong Date: Sun, 22 Jul 2018 13:16:46 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Configuration/AbstractConfiguration.php | 2 +- src/JiraClient.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Configuration/AbstractConfiguration.php b/src/Configuration/AbstractConfiguration.php index 03cfa202..85246177 100644 --- a/src/Configuration/AbstractConfiguration.php +++ b/src/Configuration/AbstractConfiguration.php @@ -182,7 +182,7 @@ public function isCookieAuthorizationEnabled() } /** - * get default User-Agent String + * get default User-Agent String. * * @return string */ diff --git a/src/JiraClient.php b/src/JiraClient.php index 212dbccd..bca3a2be 100644 --- a/src/JiraClient.php +++ b/src/JiraClient.php @@ -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 * @@ -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(); } @@ -581,6 +581,7 @@ public function download($url, $outDir, $file, $cookieFile = null) * setting cookie file path. * * @param $cookieFile + * * @return $this */ public function setCookieFile($cookieFile)