Skip to content

Commit 5021b32

Browse files
committed
Fix bug
1 parent 8b46516 commit 5021b32

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ImageManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function decodeUsing(
120120
null|string|Stringable $path = null,
121121
null|string|Stringable $binary = null,
122122
null|string|Stringable $base64 = null,
123-
null|string|Stringable $dataUri = null,
123+
null|string|Stringable|DataUriInterface $dataUri = null,
124124
null|SplFileInfo $splFileInfo = null,
125125
mixed $stream = null,
126126
): ImageInterface {

src/Interfaces/ImageManagerInterface.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Intervention\Image\Interfaces;
66

7-
use Intervention\Image\DataUri;
87
use SplFileInfo;
98
use Stringable;
109

@@ -72,7 +71,7 @@ public function decodeUsing(
7271
null|string|Stringable $path = null,
7372
null|string|Stringable $binary = null,
7473
null|string|Stringable $base64 = null,
75-
null|string|Stringable|DataUri $dataUri = null,
74+
null|string|Stringable|DataUriInterface $dataUri = null,
7675
null|SplFileInfo $splFileInfo = null,
7776
mixed $stream = null,
7877
): ImageInterface;

0 commit comments

Comments
 (0)