mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 01:29:51 +02:00
Add type hints in tests
This commit is contained in:
@@ -12,7 +12,7 @@ use Intervention\Image\Image;
|
||||
|
||||
abstract class GdTestCase extends BaseTestCase
|
||||
{
|
||||
public static function readTestImage($filename = 'test.jpg'): Image
|
||||
public static function readTestImage(string $filename = 'test.jpg'): Image
|
||||
{
|
||||
return (new Driver())->specialize(new FilePathImageDecoder())->decode(
|
||||
static::getTestResourcePath($filename)
|
||||
|
Reference in New Issue
Block a user