mirror of
https://github.com/Intervention/image.git
synced 2025-09-09 13:40:52 +02:00
Add type hints in tests
This commit is contained in:
@@ -15,7 +15,7 @@ final class EllipseFactoryTest extends BaseTestCase
|
||||
{
|
||||
public function testFactoryCallback(): void
|
||||
{
|
||||
$factory = new EllipseFactory(new Point(1, 2), function ($ellipse) {
|
||||
$factory = new EllipseFactory(new Point(1, 2), function ($ellipse): void {
|
||||
$ellipse->background('fff');
|
||||
$ellipse->border('ccc', 10);
|
||||
$ellipse->width(100);
|
||||
|
Reference in New Issue
Block a user