mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 08:40:33 +02:00
Add type hints in tests
This commit is contained in:
@@ -45,7 +45,7 @@ final class DriverTest extends BaseTestCase
|
||||
|
||||
public function testCreateAnimation(): void
|
||||
{
|
||||
$image = $this->driver->createAnimation(function ($animation) {
|
||||
$image = $this->driver->createAnimation(function ($animation): void {
|
||||
$animation->add($this->getTestResourcePath('red.gif'), .25);
|
||||
$animation->add($this->getTestResourcePath('green.gif'), .25);
|
||||
})->setLoops(5);
|
||||
|
Reference in New Issue
Block a user