1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-28 08:09:54 +02:00

Update CanCreateImagickTestImage.php fix the create with decoder method name.

This commit is contained in:
Sergey Kudashev
2022-03-23 02:22:53 +03:00
parent b19697b67c
commit 0846dd592d

View File

@@ -11,12 +11,12 @@ trait CanCreateImagickTestImage
{
public function createTestImage($filename = 'test.jpg'): Image
{
return $this->testImageDecoder()->handle(
return $this->createWithImageDecoder()->handle(
sprintf('%s/../images/%s', __DIR__, $filename)
);
}
protected function testImageDecoder(): FilePathImageDecoder
protected function createWithImageDecoder(): FilePathImageDecoder
{
return new FilePathImageDecoder();
}