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:
@@ -15,7 +15,7 @@ final class CircleFactoryTest extends BaseTestCase
|
||||
{
|
||||
public function testFactoryCallback(): void
|
||||
{
|
||||
$factory = new CircleFactory(new Point(1, 2), function ($circle) {
|
||||
$factory = new CircleFactory(new Point(1, 2), function ($circle): void {
|
||||
$circle->background('fff');
|
||||
$circle->border('ccc', 10);
|
||||
$circle->radius(100);
|
||||
|
Reference in New Issue
Block a user