Skip to content

Commit 5f8ba8d

Browse files
Miquel MartínMiquel Martín
authored andcommitted
Implement source from resource and possibility to force not Imagick
1 parent e09f23a commit 5f8ba8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/QrReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ final class QrReader
5353
const SOURCE_TYPE_RESOURCE = 'resource';
5454
public $result;
5555

56-
function __construct($imgsource, $sourcetype = 'file', $isUseImagickIfAvailable = true)
56+
function __construct($imgsource, $sourcetype = QrReader::SOURCE_TYPE_FILE, $isUseImagickIfAvailable = true)
5757
{
5858

5959
try {

0 commit comments

Comments
 (0)