From 0141076e82fd1e9b764394361661ca1ca36069c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E5=8C=97=E9=A3=8E?= <840679824@qq.com> Date: Mon, 1 Jul 2019 16:39:35 +0800 Subject: [PATCH] Update Version.php fix namespace use error. --- lib/Qrcode/Decoder/Version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Qrcode/Decoder/Version.php b/lib/Qrcode/Decoder/Version.php index a3cc03f..0f45da4 100644 --- a/lib/Qrcode/Decoder/Version.php +++ b/lib/Qrcode/Decoder/Version.php @@ -110,7 +110,7 @@ public static function getProvisionalVersionForDimension($dimension) } try { return self::getVersionForNumber(($dimension - 17) / 4); - } catch (InvalidArgumentException $ignored) { + } catch (\InvalidArgumentException $ignored) { throw FormatException::getFormatInstance(); } }