@@ -77,9 +77,9 @@ discard block |
||
77 | 77 | * RangeField constructor. |
78 | 78 | * @param string $name The internal field name, passed to forms. |
79 | 79 | * @param null|string $title The human-readable field label. |
80 | - * @param int|array $start Starting point(s) on the line |
|
80 | + * @param integer $start Starting point(s) on the line |
|
81 | 81 | * @param mixed $value The value of the field. |
82 | - * @param int|array $min Lowest value of the range |
|
82 | + * @param integer $min Lowest value of the range |
|
83 | 83 | * @param int $max Highest value of the range |
84 | 84 | * @param array $range Associative array with keys which determine the percentage point on the range |
85 | 85 | * And values being the labels on the field |
@@ -121,6 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * @param string unit |
123 | 123 | * @param int $decimalPlaces |
124 | + * @param string $unit |
|
124 | 125 | */ |
125 | 126 | public function setFormat($unit, $decimalPlaces) |
126 | 127 | { |
@@ -172,7 +173,7 @@ discard block |
||
172 | 173 | } |
173 | 174 | |
174 | 175 | /** |
175 | - * @param array|int $start |
|
176 | + * @param integer $start |
|
176 | 177 | */ |
177 | 178 | public function setStart($start) |
178 | 179 | { |
@@ -180,7 +181,7 @@ discard block |
||
180 | 181 | } |
181 | 182 | |
182 | 183 | /** |
183 | - * @return array |
|
184 | + * @return integer |
|
184 | 185 | */ |
185 | 186 | public function getMin() |
186 | 187 | { |
@@ -300,7 +301,7 @@ discard block |
||
300 | 301 | } |
301 | 302 | |
302 | 303 | /** |
303 | - * @param bool|int $step |
|
304 | + * @param integer $step |
|
304 | 305 | */ |
305 | 306 | public function setStep($step) |
306 | 307 | { |