@@ -48,12 +48,12 @@ final class AlignmentPatternFinder
48
48
/**
49
49
* <p>Creates a finder that will look in a portion of the whole image.</p>
50
50
*
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
57
57
*/
58
58
public function __construct (
59
59
$ image ,
@@ -222,9 +222,9 @@ private static function centerFromEnd($stateCount, $end)
222
222
* "cross-checks" by scanning down vertically through the center of the possible
223
223
* alignment pattern to see if the same proportion is detected.</p>
224
224
*
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
228
228
* observed in any reading state, based on the results of the horizontal scan
229
229
*
230
230
* @return float vertical center of alignment pattern, or {@link Float#NaN} if not found
0 commit comments