@@ -239,16 +239,16 @@ public function exec($context, $post_data = null, $custom_request = null, $cooki
239239
240240 curl_setopt ($ ch , CURLOPT_SSL_VERIFYHOST , $ this ->getConfiguration ()->isCurlOptSslVerifyHost ());
241241 curl_setopt ($ ch , CURLOPT_SSL_VERIFYPEER , $ this ->getConfiguration ()->isCurlOptSslVerifyPeer ());
242- if ($ this ->getConfiguration ()->isCurlOptSslCert ()) {
242+ if ($ this ->getConfiguration ()->isCurlOptSslCert ()) {
243243 curl_setopt ($ ch , CURLOPT_SSLCERT , $ this ->getConfiguration ()->isCurlOptSslCert ());
244244 }
245- if ($ this ->getConfiguration ()->isCurlOptSslCertPassword ()) {
245+ if ($ this ->getConfiguration ()->isCurlOptSslCertPassword ()) {
246246 curl_setopt ($ ch , CURLOPT_SSLCERTPASSWD , $ this ->getConfiguration ()->isCurlOptSslCertPassword ());
247247 }
248- if ($ this ->getConfiguration ()->isCurlOptSslKey ()) {
248+ if ($ this ->getConfiguration ()->isCurlOptSslKey ()) {
249249 curl_setopt ($ ch , CURLOPT_SSLKEY , $ this ->getConfiguration ()->isCurlOptSslKey ());
250250 }
251- if ($ this ->getConfiguration ()->isCurlOptSslKeyPassword ()) {
251+ if ($ this ->getConfiguration ()->isCurlOptSslKeyPassword ()) {
252252 curl_setopt ($ ch , CURLOPT_SSLKEYPASSWD , $ this ->getConfiguration ()->isCurlOptSslKeyPassword ());
253253 }
254254
@@ -354,16 +354,16 @@ private function createUploadHandle($url, $upload_file, $ch)
354354 curl_setopt ($ ch , CURLOPT_SSL_VERIFYHOST , $ this ->getConfiguration ()->isCurlOptSslVerifyHost ());
355355 curl_setopt ($ ch , CURLOPT_SSL_VERIFYPEER , $ this ->getConfiguration ()->isCurlOptSslVerifyPeer ());
356356
357- if ($ this ->getConfiguration ()->isCurlOptSslCert ()) {
357+ if ($ this ->getConfiguration ()->isCurlOptSslCert ()) {
358358 curl_setopt ($ ch , CURLOPT_SSLCERT , $ this ->getConfiguration ()->isCurlOptSslCert ());
359359 }
360- if ($ this ->getConfiguration ()->isCurlOptSslCertPassword ()) {
360+ if ($ this ->getConfiguration ()->isCurlOptSslCertPassword ()) {
361361 curl_setopt ($ ch , CURLOPT_SSLCERTPASSWD , $ this ->getConfiguration ()->isCurlOptSslCertPassword ());
362362 }
363- if ($ this ->getConfiguration ()->isCurlOptSslKey ()) {
363+ if ($ this ->getConfiguration ()->isCurlOptSslKey ()) {
364364 curl_setopt ($ ch , CURLOPT_SSLKEY , $ this ->getConfiguration ()->isCurlOptSslKey ());
365365 }
366- if ($ this ->getConfiguration ()->isCurlOptSslKeyPassword ()) {
366+ if ($ this ->getConfiguration ()->isCurlOptSslKeyPassword ()) {
367367 curl_setopt ($ ch , CURLOPT_SSLKEYPASSWD , $ this ->getConfiguration ()->isCurlOptSslKeyPassword ());
368368 }
369369
@@ -437,10 +437,10 @@ public function upload($context, $filePathArray)
437437 }
438438
439439 /**
440- * @param array $chArr
440+ * @param array $chArr
441441 * @param resource $mh
442- * @param string $body
443- * @param int $result_code
442+ * @param string $body
443+ * @param int $result_code
444444 *
445445 * @throws \JiraRestApi\JiraException
446446 */
@@ -549,9 +549,9 @@ public function toHttpQueryParameter(array $paramArray)
549549 /**
550550 * download and save into outDir.
551551 *
552- * @param string $url full url
553- * @param string $outDir save dir
554- * @param string $file save filename
552+ * @param string $url full url
553+ * @param string $outDir save dir
554+ * @param string $file save filename
555555 * @param string $cookieFile cookie filename
556556 *
557557 * @throws JiraException
@@ -575,16 +575,16 @@ public function download(string $url, string $outDir, string $file, string $cook
575575 curl_setopt ($ ch , CURLOPT_SSL_VERIFYHOST , $ this ->getConfiguration ()->isCurlOptSslVerifyHost ());
576576 curl_setopt ($ ch , CURLOPT_SSL_VERIFYPEER , $ this ->getConfiguration ()->isCurlOptSslVerifyPeer ());
577577
578- if ($ this ->getConfiguration ()->isCurlOptSslCert ()) {
578+ if ($ this ->getConfiguration ()->isCurlOptSslCert ()) {
579579 curl_setopt ($ ch , CURLOPT_SSLCERT , $ this ->getConfiguration ()->isCurlOptSslCert ());
580580 }
581- if ($ this ->getConfiguration ()->isCurlOptSslCertPassword ()) {
581+ if ($ this ->getConfiguration ()->isCurlOptSslCertPassword ()) {
582582 curl_setopt ($ ch , CURLOPT_SSLCERTPASSWD , $ this ->getConfiguration ()->isCurlOptSslCertPassword ());
583583 }
584- if ($ this ->getConfiguration ()->isCurlOptSslKey ()) {
584+ if ($ this ->getConfiguration ()->isCurlOptSslKey ()) {
585585 curl_setopt ($ ch , CURLOPT_SSLKEY , $ this ->getConfiguration ()->isCurlOptSslKey ());
586586 }
587- if ($ this ->getConfiguration ()->isCurlOptSslKeyPassword ()) {
587+ if ($ this ->getConfiguration ()->isCurlOptSslKeyPassword ()) {
588588 curl_setopt ($ ch , CURLOPT_SSLKEYPASSWD , $ this ->getConfiguration ()->isCurlOptSslKeyPassword ());
589589 }
590590
0 commit comments