aboutsummaryrefslogtreecommitdiffhomepage
path: root/php
diff options
context:
space:
mode:
authorGravatar Bo Yang <teboring@google.com>2017-12-11 15:44:27 -0800
committerGravatar Bo Yang <teboring@google.com>2017-12-11 15:44:27 -0800
commit3b13c3f02e476bb668a28fce3e86a1ec62f85562 (patch)
tree0e4950cf524926dd90bdaba86d6f1f6c780446de /php
parentcf7c15e31a456f634d4e3deaf4ef74a6bfad825d (diff)
Add backslach to make class explict in global namespace
Diffstat (limited to 'php')
-rw-r--r--php/src/Google/Protobuf/Internal/Message.php2
1 files changed, 1 insertions, 1 deletions
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());
}
}