Skip to content

Commit 269cd0d

Browse files
committed
🚿
1 parent b0a2cb6 commit 269cd0d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Detector/GridSampler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use chillerlan\QRCode\Data\QRMatrix;
1515
use chillerlan\QRCode\Decoder\BitMatrix;
16-
use Throwable;
1716
use function array_fill, count, intdiv, sprintf;
1817

1918
/**
@@ -163,7 +162,7 @@ public function sampleGrid(BitMatrix $matrix, int $dimension, PerspectiveTransfo
163162
);
164163
}
165164
# }
166-
# catch(Throwable $aioobe){//ArrayIndexOutOfBoundsException
165+
# catch(\Throwable $aioobe){//ArrayIndexOutOfBoundsException
167166
// This feels wrong, but, sometimes if the finder patterns are misidentified, the resulting
168167
// transform gets "twisted" such that it maps a straight line of points to a set of points
169168
// whose endpoints are in bounds, but others are not. There is probably some mathematical

src/Output/QRMarkupHTML.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use function sprintf;
1414

1515
/**
16-
* HTML output
16+
* HTML output (a cheap markup substitute when SVG is not available or not an option)
1717
*/
1818
class QRMarkupHTML extends QRMarkup{
1919

src/Output/QRString.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
namespace chillerlan\QRCode\Output;
1515

1616
use function implode, is_string, json_encode;
17+
use const JSON_THROW_ON_ERROR;
1718

1819
/**
1920
* Converts the matrix data into string types

0 commit comments

Comments
 (0)