Skip to content

Commit 0453a94

Browse files
committed
Made verifySSL optional
1 parent 49f681e commit 0453a94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Providers/Qr/GoogleChartsQrCodeProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class GoogleChartsQrCodeProvider extends BaseHTTPQRCodeProvider
1919
* @param int $margin
2020
* @param string $encoding
2121
*/
22-
public function __construct($errorcorrectionlevel = 'L', $margin = 4, $encoding = 'UTF-8')
22+
public function __construct($errorcorrectionlevel = 'L', $margin = 4, $encoding = 'UTF-8', $verifySSL = true)
2323
{
24-
$this->verifyssl = false;
24+
$this->verifyssl = $verifySSL;
2525

2626
$this->errorcorrectionlevel = $errorcorrectionlevel;
2727
$this->margin = $margin;

0 commit comments

Comments
 (0)