second batch with QR providers

This commit is contained in:
Nicolas CARPi
2022-12-07 23:02:41 +01:00
parent aeb4b00c60
commit a8c297c178
14 changed files with 76 additions and 251 deletions
+3 -9
View File
@@ -1,18 +1,12 @@
<?php
<?php declare(strict_types=1);
namespace RobThree\Auth\Providers\Qr;
abstract class BaseHTTPQRCodeProvider implements IQRCodeProvider
{
/** @var bool */
protected $verifyssl;
protected bool $verifyssl;
/**
* @param string $url
*
* @return string|bool
*/
protected function getContent($url)
protected function getContent(string $url): string|bool
{
$curlhandle = curl_init();