mirror of
https://github.com/Intervention/image.git
synced 2025-08-26 23:35:12 +02:00
Implement __debugInfo() (#1406)
This commit is contained in:
@@ -325,4 +325,11 @@ final class RectangleTest extends BaseTestCase
|
||||
$this->assertEquals(800, $result->width());
|
||||
$this->assertEquals(600, $result->height());
|
||||
}
|
||||
|
||||
public function testDebugInfo(): void
|
||||
{
|
||||
$info = (new Rectangle(800, 600))->__debugInfo();
|
||||
$this->assertEquals(800, $info['width']);
|
||||
$this->assertEquals(600, $info['height']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user