Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Dec 3, 2023
1 parent 6354c37 commit 02e62b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
use Intervention\Image\Modifiers\GammaModifier;
use Intervention\Image\Modifiers\GreyscaleModifier;
use Intervention\Image\Modifiers\InvertModifier;
use Intervention\Image\Modifiers\PadDownModifier;
use Intervention\Image\Modifiers\PadModifier;
use Intervention\Image\Modifiers\PixelateModifier;
use Intervention\Image\Modifiers\PlaceModifier;
Expand Down Expand Up @@ -545,7 +546,7 @@ public function padDown(
mixed $background = 'ffffff',
string $position = 'center'
): ImageInterface {
return $this->modify(new PadModifier($width, $height, $background, $position));
return $this->modify(new PadDownModifier($width, $height, $background, $position));
}

/**
Expand Down

0 comments on commit 02e62b8

Please sign in to comment.