diff options
author | Bo Yang <teboring@google.com> | 2017-12-11 15:44:27 -0800 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-12-11 15:44:27 -0800 |
commit | 3b13c3f02e476bb668a28fce3e86a1ec62f85562 (patch) | |
tree | 0e4950cf524926dd90bdaba86d6f1f6c780446de /php | |
parent | cf7c15e31a456f634d4e3deaf4ef74a6bfad825d (diff) |
Add backslach to make class explict in global namespace
Diffstat (limited to 'php')
-rw-r--r-- | php/src/Google/Protobuf/Internal/Message.php | 2 |
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()); } } |