mirror of
https://github.com/Intervention/image.git
synced 2025-08-20 04:31:24 +02:00
Wrap code line
This commit is contained in:
@@ -14,7 +14,7 @@ use Intervention\Image\Interfaces\SizeInterface;
|
|||||||
use Intervention\Image\Traits\CanHandleInput;
|
use Intervention\Image\Traits\CanHandleInput;
|
||||||
use Intervention\Image\Traits\CanResolveDriverClass;
|
use Intervention\Image\Traits\CanResolveDriverClass;
|
||||||
|
|
||||||
abstract class AbstractImage
|
abstract class AbstractImage implements ImageInterface
|
||||||
{
|
{
|
||||||
use CanResolveDriverClass;
|
use CanResolveDriverClass;
|
||||||
use CanHandleInput;
|
use CanHandleInput;
|
||||||
@@ -284,8 +284,12 @@ abstract class AbstractImage
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function padDown(int $width, int $height, $background = 'ffffff', string $position = 'center'): ImageInterface
|
public function padDown(
|
||||||
{
|
int $width,
|
||||||
|
int $height,
|
||||||
|
$background = 'ffffff',
|
||||||
|
string $position = 'center'
|
||||||
|
): ImageInterface {
|
||||||
return $this->modify(
|
return $this->modify(
|
||||||
$this->resolveDriverClass('Modifiers\PadDownModifier', $width, $height, $background, $position)
|
$this->resolveDriverClass('Modifiers\PadDownModifier', $width, $height, $background, $position)
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user