1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-01 09:52:59 +02:00

Change return types

This commit is contained in:
Oliver Vogel
2023-10-21 10:04:29 +02:00
parent a62c22ff53
commit f7fd1f3c5d
3 changed files with 2 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ abstract class AbstractFont implements FontInterface
return $this;
}
public function getColor(): ?ColorInterface
public function getColor(): ColorInterface
{
return $this->handleInput($this->color);
}

View File

@@ -8,7 +8,7 @@ use Intervention\Image\Interfaces\ColorInterface;
interface FontInterface
{
public function color($color): self;
public function getColor(): ?ColorInterface;
public function getColor(): ColorInterface;
public function size(float $size): self;
public function getSize(): float;
public function angle(float $angle): self;

View File

@@ -3,7 +3,6 @@
namespace Intervention\Image\Interfaces;
use Countable;
use Intervention\Image\Collection;
use Intervention\Image\EncodedImage;
use Traversable;