1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-29 08:40:33 +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 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();
} }