mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 17:41:58 +02:00
Add type hints in tests
This commit is contained in:
@@ -24,7 +24,7 @@ final class FontFactoryTest extends BaseTestCase
|
||||
|
||||
public function testBuildWithCallback(): void
|
||||
{
|
||||
$factory = new FontFactory(function (FontFactory $font) {
|
||||
$factory = new FontFactory(function (FontFactory $font): void {
|
||||
$font->filename($this->getTestResourcePath('test.ttf'));
|
||||
$font->color('#b01735');
|
||||
$font->size(70);
|
||||
|
Reference in New Issue
Block a user