We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86fe195 commit 1ddc9a0Copy full SHA for 1ddc9a0
src/EncodedImage.php
@@ -59,7 +59,7 @@ public function toDataUri(): string
59
public function __debugInfo(): array
60
{
61
return [
62
- 'mimetype' => $this->mimetype(),
+ 'mediaType' => $this->mediaType(),
63
'size' => $this->size(),
64
];
65
}
tests/Unit/EncodedImageTest.php
@@ -61,7 +61,7 @@ public function testMimetype(): void
public function testDebugInfo(): void
$info = (new EncodedImage('foo', 'image/png'))->__debugInfo();
- $this->assertEquals('image/png', $info['mimetype']);
+ $this->assertEquals('image/png', $info['mediaType']);
$this->assertEquals(3, $info['size']);
66
67
0 commit comments