@@ -97,8 +97,8 @@ discard block |
||
97 | 97 | * @param string $axis |
98 | 98 | * @param $cropCoordinates |
99 | 99 | * @param $aspectRatio |
100 | - * @param $newWidth |
|
101 | - * @param $newHeight |
|
100 | + * @param integer $newWidth |
|
101 | + * @param integer $newHeight |
|
102 | 102 | * |
103 | 103 | * @return array |
104 | 104 | */ |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | /** |
162 | - * @param $axis |
|
162 | + * @param string $axis |
|
163 | 163 | * @param string $type |
164 | 164 | * |
165 | 165 | * @return mixed |
@@ -255,10 +255,10 @@ discard block |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
258 | - * @param $focusNear |
|
258 | + * @param double $focusNear |
|
259 | 259 | * @param $focusFar |
260 | 260 | * @param $cropLength |
261 | - * @param $imageLength |
|
261 | + * @param integer $imageLength |
|
262 | 262 | * |
263 | 263 | * @return array |
264 | 264 | */ |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | * Tests if a given offset is valid. |
297 | 297 | * Valid offsets cropped images will include the focus rectangle and will not fall outside of the original image. |
298 | 298 | * |
299 | - * @param $point |
|
299 | + * @param integer $point |
|
300 | 300 | * @param $cropLength |
301 | 301 | * @param $imageLength |
302 | 302 | * @param $focusNear |
@@ -61,8 +61,8 @@ |
||
61 | 61 | $message = 'Too wide: ' . $focusCropData['width'] . '<=' . $width; |
62 | 62 | $this->assertTrue($focusCropData['width'] <= $width, $message); |
63 | 63 | |
64 | - $message = 'Too high: ' . (int)round($focusCropData['height']) . ' <= ' . $height; |
|
65 | - $this->assertTrue((int)round($focusCropData['height']) <= (int)$height, $message); |
|
64 | + $message = 'Too high: ' . (int) round($focusCropData['height']) . ' <= ' . $height; |
|
65 | + $this->assertTrue((int) round($focusCropData['height']) <= (int) $height, $message); |
|
66 | 66 | |
67 | 67 | $this->assertTrue($focusCropData['x'] >= $imageCoordinates['crop_coordinates'][0]); // x1 |
68 | 68 | $this->assertTrue($focusCropData['y'] >= $imageCoordinates['crop_coordinates'][1]); // y1 |