Skip to content

Commit dd51bcd

Browse files
authored
Merge pull request #34 from Usetreno-dev/develop
Fix InvalidArgumentException used from global namespace
2 parents 5039e27 + 2ae8349 commit dd51bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/qrcode/decoder/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static function getProvisionalVersionForDimension($dimension)
110110
}
111111
try {
112112
return self::getVersionForNumber(($dimension - 17) / 4);
113-
} catch (InvalidArgumentException $ignored) {
113+
} catch (\InvalidArgumentException $ignored) {
114114
throw FormatException::getFormatInstance();
115115
}
116116
}

0 commit comments

Comments
 (0)