Skip to content

Commit

Permalink
Optimize method description
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Feb 13, 2025
1 parent fda7a6d commit 4592f17
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Interfaces/ImageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,10 @@ public function scale(?int $width = null, ?int $height = null): self;
public function scaleDown(?int $width = null, ?int $height = null): self;

/**
* Takes the given dimensions and scales it to the largest possible size matching
* the original size. Then this size is positioned on the original and cut out
* before being resized to the desired size from the arguments
* Takes the specified width and height and scales them to the largest
* possible size that fits within the original size. This scaled size is
* then positioned on the original and cropped, before this result is resized
* to the desired size using the arguments
*
* @link https://image.intervention.io/v3/modifying/resizing#fitted-image-resizing
* @param int $width
Expand Down

0 comments on commit 4592f17

Please sign in to comment.