We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e3e69c commit c06396aCopy full SHA for c06396a
src/Wrapper/Image.php
@@ -4,6 +4,7 @@
4
5
use Pimcore\Image\Adapter\GD;
6
use Pimcore\Image\Adapter\Imagick;
7
+use Pimcore\Image\AdapterInterface;
8
9
/**
10
* This class is a wrapper for all static public functions of the \Pimcore\Image class.
@@ -13,7 +14,7 @@ class Image
13
14
15
* @throws \Exception
16
*/
- public function getInstance(): GD|Imagick|null
17
+ public function getInstance(): GD|Imagick|AdapterInterface|null
18
{
19
return \Pimcore\Image::getInstance();
20
}
0 commit comments