mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 16:50:07 +02:00
Update CanCreateImagickTestImage.php fix the create with decoder method name.
This commit is contained in:
@@ -11,12 +11,12 @@ trait CanCreateImagickTestImage
|
|||||||
{
|
{
|
||||||
public function createTestImage($filename = 'test.jpg'): Image
|
public function createTestImage($filename = 'test.jpg'): Image
|
||||||
{
|
{
|
||||||
return $this->testImageDecoder()->handle(
|
return $this->createWithImageDecoder()->handle(
|
||||||
sprintf('%s/../images/%s', __DIR__, $filename)
|
sprintf('%s/../images/%s', __DIR__, $filename)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function testImageDecoder(): FilePathImageDecoder
|
protected function createWithImageDecoder(): FilePathImageDecoder
|
||||||
{
|
{
|
||||||
return new FilePathImageDecoder();
|
return new FilePathImageDecoder();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user