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:
@@ -68,7 +68,7 @@ abstract class AbstractFont implements FontInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColor(): ?ColorInterface
|
||||
public function getColor(): ColorInterface
|
||||
{
|
||||
return $this->handleInput($this->color);
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -3,7 +3,6 @@
|
||||
namespace Intervention\Image\Interfaces;
|
||||
|
||||
use Countable;
|
||||
use Intervention\Image\Collection;
|
||||
use Intervention\Image\EncodedImage;
|
||||
use Traversable;
|
||||
|
||||
|
Reference in New Issue
Block a user