@@ -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
0 commit comments