File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -819,21 +819,25 @@ public function setCookieString($string)
819
819
*
820
820
* @access public
821
821
* @param $cookie_file
822
+ *
823
+ * @return boolean
822
824
*/
823
825
public function setCookieFile ($ cookie_file )
824
826
{
825
- $ this ->setOpt (CURLOPT_COOKIEFILE , $ cookie_file );
827
+ return $ this ->setOpt (CURLOPT_COOKIEFILE , $ cookie_file );
826
828
}
827
829
828
830
/**
829
831
* Set Cookie Jar
830
832
*
831
833
* @access public
832
834
* @param $cookie_jar
835
+ *
836
+ * @return boolean
833
837
*/
834
838
public function setCookieJar ($ cookie_jar )
835
839
{
836
- $ this ->setOpt (CURLOPT_COOKIEJAR , $ cookie_jar );
840
+ return $ this ->setOpt (CURLOPT_COOKIEJAR , $ cookie_jar );
837
841
}
838
842
839
843
/**
Original file line number Diff line number Diff line change @@ -453,21 +453,25 @@ public function setCookieString($string)
453
453
*
454
454
* @access public
455
455
* @param $cookie_file
456
+ *
457
+ * @return boolean
456
458
*/
457
459
public function setCookieFile ($ cookie_file )
458
460
{
459
- $ this ->setOpt (CURLOPT_COOKIEFILE , $ cookie_file );
461
+ return $ this ->setOpt (CURLOPT_COOKIEFILE , $ cookie_file );
460
462
}
461
463
462
464
/**
463
465
* Set Cookie Jar
464
466
*
465
467
* @access public
466
468
* @param $cookie_jar
469
+ *
470
+ * @return boolean
467
471
*/
468
472
public function setCookieJar ($ cookie_jar )
469
473
{
470
- $ this ->setOpt (CURLOPT_COOKIEJAR , $ cookie_jar );
474
+ return $ this ->setOpt (CURLOPT_COOKIEJAR , $ cookie_jar );
471
475
}
472
476
473
477
/**
You can’t perform that action at this time.
0 commit comments