Skip to content

Commit 33a40e5

Browse files
committed
Fix bug
1 parent c098184 commit 33a40e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ImageResponseFactory.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Illuminate\Http\Response;
88
use Illuminate\Support\Facades\Response as ResponseFactory;
9-
use Intervention\Image\EncodedImage;
109
use Intervention\Image\Exceptions\DriverException;
1110
use Intervention\Image\Exceptions\NotSupportedException;
1211
use Intervention\Image\Exceptions\RuntimeException;
@@ -27,13 +26,13 @@ class ImageResponseFactory
2726
/**
2827
* Create new ImageResponseFactory instance
2928
*
30-
* @param Image|EncodedImage $image
29+
* @param Image $image
3130
* @param null|string|Format|MediaType|FileExtension $format
3231
* @param mixed ...$options
3332
* @return void
3433
*/
3534
public function __construct(
36-
protected Image|EncodedImage $image,
35+
protected Image $image,
3736
protected null|string|Format|MediaType|FileExtension $format = null,
3837
mixed ...$options
3938
) {

0 commit comments

Comments
 (0)