Skip to content

Commit 2ae8349

Browse files
Fix InvalidArgumentException used from global namespace
1 parent 96d5f80 commit 2ae8349

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)