1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 01:00:06 +02:00

Add type hints

This commit is contained in:
Oliver Vogel
2025-05-31 09:59:31 +02:00
parent 7b79c3b1de
commit 2ca57b1e92
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Intervention\Image\Tests\Unit\Modifiers;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Interfaces\FontInterface;
use Intervention\Image\Modifiers\TextModifier;
use Intervention\Image\Tests\BaseTestCase;
use Intervention\Image\Typography\Font;
@@ -17,7 +18,7 @@ final class TextModifierTest extends BaseTestCase
{
$modifier = new class ('test', new Point(), new Font()) extends TextModifier
{
public function testStrokeOffsets($font)
public function testStrokeOffsets(FontInterface $font)
{
return $this->strokeOffsets($font);
}