mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-21 21:03:11 +00:00
🚿
This commit is contained in:
@@ -13,7 +13,6 @@ namespace chillerlan\QRCode\Detector;
|
||||
|
||||
use chillerlan\QRCode\Data\QRMatrix;
|
||||
use chillerlan\QRCode\Decoder\BitMatrix;
|
||||
use Throwable;
|
||||
use function array_fill, count, intdiv, sprintf;
|
||||
|
||||
/**
|
||||
@@ -163,7 +162,7 @@ final class GridSampler{
|
||||
);
|
||||
}
|
||||
# }
|
||||
# catch(Throwable $aioobe){//ArrayIndexOutOfBoundsException
|
||||
# catch(\Throwable $aioobe){//ArrayIndexOutOfBoundsException
|
||||
// This feels wrong, but, sometimes if the finder patterns are misidentified, the resulting
|
||||
// transform gets "twisted" such that it maps a straight line of points to a set of points
|
||||
// whose endpoints are in bounds, but others are not. There is probably some mathematical
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace chillerlan\QRCode\Output;
|
||||
use function sprintf;
|
||||
|
||||
/**
|
||||
* HTML output
|
||||
* HTML output (a cheap markup substitute when SVG is not available or not an option)
|
||||
*/
|
||||
class QRMarkupHTML extends QRMarkup{
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
namespace chillerlan\QRCode\Output;
|
||||
|
||||
use function implode, is_string, json_encode;
|
||||
use const JSON_THROW_ON_ERROR;
|
||||
|
||||
/**
|
||||
* Converts the matrix data into string types
|
||||
|
||||
Reference in New Issue
Block a user