mirror of
https://github.com/Intervention/image.git
synced 2025-08-22 21:42:53 +02:00
Fix SizeInterface.php add the resize method to fit ResizeModifier usage.
This commit is contained in:
@@ -9,6 +9,7 @@ interface SizeInterface
|
||||
public function getPivot(): PointInterface;
|
||||
public function setWidth(int $width): SizeInterface;
|
||||
public function setHeight(int $height): SizeInterface;
|
||||
public function resize(?int $width = null, ?int $height = null): SizeInterface;
|
||||
public function getAspectRatio(): float;
|
||||
public function fitsInto(SizeInterface $size): bool;
|
||||
public function isLandscape(): bool;
|
||||
|
Reference in New Issue
Block a user