@@ -44,10 +44,9 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * Get the offset of where the crop should start |
| 46 | 46 | * |
| 47 | - * @param Imagick $image |
|
| 48 | 47 | * @param int $targetHeight |
| 49 | 48 | * @param int $targetHeight |
| 50 | - * @param int $sliceSize |
|
| 49 | + * @param integer $targetWidth |
|
| 51 | 50 | * @return array |
| 52 | 51 | */ |
| 53 | 52 | protected static function getOffsetFromEntropy(Imagick $originalImage, $targetWidth, $targetHeight) |
@@ -70,10 +69,10 @@ discard block |
||
| 70 | 69 | /** |
| 71 | 70 | * slice |
| 72 | 71 | * |
| 73 | - * @param mixed $image |
|
| 72 | + * @param Imagick $image |
|
| 74 | 73 | * @param mixed $originalSize |
| 75 | 74 | * @param mixed $targetSize |
| 76 | - * @param mixed $axis h=horizontal, v = vertical |
|
| 75 | + * @param string $axis h=horizontal, v = vertical |
|
| 77 | 76 | * @access protected |
| 78 | 77 | * @return void |
| 79 | 78 | */ |
@@ -170,7 +169,7 @@ discard block |
||
| 170 | 169 | /** |
| 171 | 170 | * getPotential |
| 172 | 171 | * |
| 173 | - * @param mixed $position |
|
| 172 | + * @param string $position |
|
| 174 | 173 | * @param mixed $top |
| 175 | 174 | * @param mixed $sliceSize |
| 176 | 175 | * @access protected |
@@ -166,7 +166,7 @@ |
||
| 166 | 166 | * Resizes the image maintaining the proportion (A 800x600 image resized to 400x400 becomes to 400x300) |
| 167 | 167 | * |
| 168 | 168 | * @param integer|string $width The max width of the image. It can be a number (pixels) or percentaje |
| 169 | - * @param integer|string $height The max height of the image. It can be a number (pixels) or percentaje |
|
| 169 | + * @param integer $height The max height of the image. It can be a number (pixels) or percentaje |
|
| 170 | 170 | * @param boolean|null $enlarge |
| 171 | 171 | * @param boolean $cover |
| 172 | 172 | * |