Skip to content

Commit 838c45a

Browse files
author
Nikhil Goyal
committed
$tryHarder enabled only on request ($hints['TRY_HARDER']=1)
1 parent 7223365 commit 838c45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Qrcode/Detector/FinderPatternFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct($image, $resultPointCallback = null)
5959

6060
final public function find($hints)
6161
{/*final FinderPatternInfo find(Map<DecodeHintType,?> hints) throws NotFoundException {*/
62-
$tryHarder = true;//$hints != null && $hints['TRY_HARDER'];
62+
$tryHarder = $hints != null && $hints['TRY_HARDER'];
6363
$pureBarcode = $hints != null && $hints['PURE_BARCODE'];
6464
$maxI = $this->image->getHeight();
6565
$maxJ = $this->image->getWidth();

0 commit comments

Comments
 (0)