You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Image.php
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -306,10 +306,10 @@ public function resize($width, $height = 0, $enlarge = false, $cover = false)
306
306
/**
307
307
* Crops the image
308
308
*
309
-
* @param integer|string $width The new width of the image. It can be a number (pixels) or percentaje
310
-
* @param integer|string $height The new height of the image. It can be a number (pixels) or percentaje
311
-
* @param integer|string|null $x The "x" position to crop. Can be number (pixels), percentaje or (left,center,right). You can use any of the Image::CROP_* constants
312
-
* @param integer|string|null $y The "y" position to crop. It can be number (pixels), percentaje or one of the available keywords (top,middle,bottom)
309
+
* @param integer|string $width The new width of the image. It can be a number (pixels) or percentaje
310
+
* @param integer|string $height The new height of the image. It can be a number (pixels) or percentaje
311
+
* @param integer|string $x The "x" position to crop. It can be number (pixels), percentaje, [left,center,right] or one of the Image::CROP_* constants
312
+
* @param integer|string $y The "y" position to crop. It can be number (pixels), percentaje or [top,middle,bottom]
313
313
*
314
314
* @return self
315
315
*/
@@ -339,15 +339,15 @@ public function crop($width, $height, $x = 'center', $y = 'middle')
339
339
/**
340
340
* Adjust the image to the given dimmensions. Resizes and crops the image maintaining the proportions.
341
341
*
342
-
* @param integer|string $width The new width in number (pixels) or percentaje
343
-
* @param integer|string $height The new height in number (pixels) or percentaje
344
-
* @param integer|string|null $x The "x" position where start to crop. It can be number (pixels), percentajeor one of the available keywords (left,center,right)
345
-
* @param integer|string|null $y The "y" position where start to crop. It can be number (pixels), percentaje or one of the available keywords (top,middle,bottom)
346
-
* @param boolean|null $enlarge
342
+
* @param integer|string $width The new width in number (pixels) or percentaje
343
+
* @param integer|string $height The new height in number (pixels) or percentaje
344
+
* @param integer|string $x The "x" position to crop. It can be number (pixels), percentaje, [left, center, right] or one of the Image::CROP_* constants
345
+
* @param integer|string $y The "y" position to crop. It can be number (pixels), percentaje or [top,middle,bottom]
0 commit comments