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:
@@ -14,7 +14,7 @@ final class PolygonFactoryTest extends BaseTestCase
|
||||
{
|
||||
public function testFactoryCallback(): void
|
||||
{
|
||||
$factory = new PolygonFactory(function ($polygon) {
|
||||
$factory = new PolygonFactory(function ($polygon): void {
|
||||
$polygon->background('fff');
|
||||
$polygon->border('ccc', 10);
|
||||
$polygon->point(1, 2);
|
||||
|
Reference in New Issue
Block a user