From 3b13c3f02e476bb668a28fce3e86a1ec62f85562 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Mon, 11 Dec 2017 15:44:27 -0800 Subject: Add backslach to make class explict in global namespace --- php/src/Google/Protobuf/Internal/Message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php') diff --git a/php/src/Google/Protobuf/Internal/Message.php b/php/src/Google/Protobuf/Internal/Message.php index 93e81c01..b7f83c57 100644 --- a/php/src/Google/Protobuf/Internal/Message.php +++ b/php/src/Google/Protobuf/Internal/Message.php @@ -1111,7 +1111,7 @@ class Message } try { $this->mergeFromJsonArray($array); - } catch (Exception $e) { + } catch (\Exception $e) { throw new GPBDecodeException($e->getMessage()); } } -- cgit v1.2.3