File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace JiraRestApi ;
44
5- use JiraRestApi \Auth \AuthService ;
65use JiraRestApi \Configuration \ConfigurationInterface ;
76use JiraRestApi \Configuration \DotEnvConfiguration ;
87use 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 " );
You can’t perform that action at this time.
0 commit comments