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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user