Skip to content

Commit 505d9b1

Browse files
authored
Merge pull request #139 from lesstif/analysis-XVW9AZ
Apply fixes from StyleCI
2 parents 24246a9 + d7b54c4 commit 505d9b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/JiraClient.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace JiraRestApi;
44

5-
use JiraRestApi\Auth\AuthService;
65
use JiraRestApi\Configuration\ConfigurationInterface;
76
use JiraRestApi\Configuration\DotEnvConfiguration;
87
use Monolog\Handler\StreamHandler;
@@ -56,7 +55,7 @@ class JiraClient
5655
protected $configuration;
5756

5857
/**
59-
* cookie file name
58+
* cookie file name.
6059
*
6160
* @var string
6261
*/
@@ -437,11 +436,11 @@ protected function authorization($ch)
437436
curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookie);
438437
curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookie);
439438

440-
$this->log->addDebug("Using cookie..");
439+
$this->log->addDebug('Using cookie..');
441440
}
442441

443442
// if cookie file not exist, using id/pwd login
444-
if (! file_exists($this->cookie)) {
443+
if (!file_exists($this->cookie)) {
445444
$username = $this->getConfiguration()->getJiraUser();
446445
$password = $this->getConfiguration()->getJiraPassword();
447446
curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");

0 commit comments

Comments
 (0)