1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-22 05:22:50 +02:00

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

This commit is contained in:
Sergey Kudashev
2022-03-23 02:23:44 +03:00
parent 0846dd592d
commit 8a4f8e40c5

View File

@@ -21,7 +21,7 @@ trait CanCreateGdTestImage
public function createTestImage($filename = 'test.jpg'): Image
{
return $this->testImageDecoder()->handle(
return $this->createWithImageDecoder()->handle(
$this->getTestImagePath($filename)
);
}
@@ -41,7 +41,7 @@ trait CanCreateGdTestImage
]));
}
protected function testImageDecoder(): FilePathImageDecoder
protected function createWithImageDecoder(): FilePathImageDecoder
{
return new FilePathImageDecoder();
}