1
0
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:
Oliver Vogel
2025-06-01 07:57:46 +02:00
parent 2af1ea158f
commit 5f3cc8a7a4
25 changed files with 62 additions and 27 deletions

View File

@@ -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)