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