mirror of
https://github.com/Intervention/image.git
synced 2025-08-22 13:32:56 +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
|
public function createTestImage($filename = 'test.jpg'): Image
|
||||||
{
|
{
|
||||||
return $this->testImageDecoder()->handle(
|
return $this->createWithImageDecoder()->handle(
|
||||||
$this->getTestImagePath($filename)
|
$this->getTestImagePath($filename)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -41,7 +41,7 @@ trait CanCreateGdTestImage
|
|||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function testImageDecoder(): FilePathImageDecoder
|
protected function createWithImageDecoder(): FilePathImageDecoder
|
||||||
{
|
{
|
||||||
return new FilePathImageDecoder();
|
return new FilePathImageDecoder();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user