mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 01:00:06 +02:00
Add type hints in tests
This commit is contained in:
@@ -58,7 +58,7 @@ final class ImageManagerTestImagick extends BaseTestCase
|
||||
public function testAnimate(): void
|
||||
{
|
||||
$manager = new ImageManager(Driver::class);
|
||||
$image = $manager->animate(function ($animation) {
|
||||
$image = $manager->animate(function ($animation): void {
|
||||
$animation->add($this->getTestResourcePath('red.gif'), .25);
|
||||
});
|
||||
$this->assertInstanceOf(ImageInterface::class, $image);
|
||||
|
Reference in New Issue
Block a user