From 8a4f8e40c508708f841ea4fd59a0b9301c7f13a2 Mon Sep 17 00:00:00 2001 From: Sergey Kudashev Date: Wed, 23 Mar 2022 02:23:44 +0300 Subject: [PATCH] Update CanCreateGdTestImage.php fix the create with decoder method name. --- tests/Traits/CanCreateGdTestImage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Traits/CanCreateGdTestImage.php b/tests/Traits/CanCreateGdTestImage.php index e2e5d81a..9d12ed2b 100644 --- a/tests/Traits/CanCreateGdTestImage.php +++ b/tests/Traits/CanCreateGdTestImage.php @@ -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(); }