mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 17:19:50 +02:00
Add type hints in tests
This commit is contained in:
@@ -18,7 +18,10 @@ final class TextModifierTest extends BaseTestCase
|
||||
{
|
||||
$modifier = new class ('test', new Point(), new Font()) extends TextModifier
|
||||
{
|
||||
public function testStrokeOffsets(FontInterface $font)
|
||||
/**
|
||||
* @return array<?Point>
|
||||
*/
|
||||
public function testStrokeOffsets(FontInterface $font): array
|
||||
{
|
||||
return $this->strokeOffsets($font);
|
||||
}
|
||||
|
Reference in New Issue
Block a user