Skip to content

Commit

Permalink
Merge pull request #6 from lohanidamodar/fix-param-type
Browse files Browse the repository at this point in the history
fix param type
  • Loading branch information
eldadfux authored Jun 10, 2021
2 parents 20849a3 + a5fa451 commit 2044fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Image/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct($data)
*
* @throws \Throwable
*/
public function crop(int $width, int $height, int $gravity = Image::GRAVITY_CENTER)
public function crop(int $width, int $height, string $gravity = Image::GRAVITY_CENTER)
{
$originalAspect = $this->width / $this->height;

Expand Down

0 comments on commit 2044fdd

Please sign in to comment.