Skip to content

Commit 67bae89

Browse files
committed
Continue adjusting return types
1 parent 3993c7d commit 67bae89

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

lib/Qrcode/Detector/AlignmentPatternFinder.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ final class AlignmentPatternFinder
4848
/**
4949
* <p>Creates a finder that will look in a portion of the whole image.</p>
5050
*
51-
* @param image $image to search
52-
* @param left $startX column from which to start searching
53-
* @param top $startY row from which to start searching
54-
* @param width $width of region to search
55-
* @param height $height of region to search
56-
* @param estimated $moduleSize module size so far
51+
* @param \Imagick image $image to search
52+
* @param int left $startX column from which to start searching
53+
* @param int top $startY row from which to start searching
54+
* @param float width $width of region to search
55+
* @param float height $height of region to search
56+
* @param float estimated $moduleSize module size so far
5757
*/
5858
public function __construct(
5959
$image,
@@ -222,9 +222,9 @@ private static function centerFromEnd($stateCount, $end)
222222
* "cross-checks" by scanning down vertically through the center of the possible
223223
* alignment pattern to see if the same proportion is detected.</p>
224224
*
225-
* @param row $startI where an alignment pattern was detected
226-
* @param center $centerJ of the section that appears to cross an alignment pattern
227-
* @param maximum $maxCount reasonable number of modules that should be
225+
* @param int row $startI where an alignment pattern was detected
226+
* @param float center $centerJ of the section that appears to cross an alignment pattern
227+
* @param int maximum $maxCount reasonable number of modules that should be
228228
* observed in any reading state, based on the results of the horizontal scan
229229
*
230230
* @return float vertical center of alignment pattern, or {@link Float#NaN} if not found

lib/Qrcode/Detector/Detector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __construct($image)
4747
/**
4848
* <p>Detects a QR Code in an image.</p>
4949
*
50-
* @param optional $hints hints to detector
50+
* @param array|null optional $hints hints to detector
5151
*
5252
* @return {@link DetectorResult} encapsulating results of detecting a QR Code
5353
* @throws NotFoundException if QR Code cannot be found

0 commit comments

Comments
 (0)