@@ -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 | * |
| 52 | 51 | * @return array |
| 53 | 52 | */ |
@@ -71,10 +70,10 @@ discard block |
||
| 71 | 70 | /** |
| 72 | 71 | * slice. |
| 73 | 72 | * |
| 74 | - * @param mixed $image |
|
| 73 | + * @param Imagick $image |
|
| 75 | 74 | * @param mixed $originalSize |
| 76 | 75 | * @param mixed $targetSize |
| 77 | - * @param mixed $axis h=horizontal, v = vertical |
|
| 76 | + * @param string $axis h=horizontal, v = vertical |
|
| 78 | 77 | */ |
| 79 | 78 | protected static function slice($image, $originalSize, $targetSize, $axis) |
| 80 | 79 | { |
@@ -168,7 +167,7 @@ discard block |
||
| 168 | 167 | /** |
| 169 | 168 | * getPotential. |
| 170 | 169 | * |
| 171 | - * @param mixed $position |
|
| 170 | + * @param string $position |
|
| 172 | 171 | * @param mixed $top |
| 173 | 172 | * @param mixed $sliceSize |
| 174 | 173 | */ |
@@ -69,7 +69,6 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * Set the available client hints |
| 71 | 71 | * |
| 72 | - * @param array $hints |
|
| 73 | 72 | * |
| 74 | 73 | * @return self |
| 75 | 74 | */ |
@@ -235,7 +234,7 @@ discard block |
||
| 235 | 234 | * Resizes the image maintaining the proportion (A 800x600 image resized to 400x400 becomes to 400x300). |
| 236 | 235 | * |
| 237 | 236 | * @param int|string $width The max width of the image. It can be a number (pixels) or percentaje |
| 238 | - * @param int|string $height The max height of the image. It can be a number (pixels) or percentaje |
|
| 237 | + * @param integer $height The max height of the image. It can be a number (pixels) or percentaje |
|
| 239 | 238 | * @param bool $cover |
| 240 | 239 | * |
| 241 | 240 | * @return self |