aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Dambovaliev <petar.atanasov.1987@gmail.com>2018-04-30 20:00:46 +0200
committerPaul Yang <TeBoring@users.noreply.github.com>2018-04-30 11:00:46 -0700
commit0869b1a0a7455dab94981aa29b8bfb69444fa13e (patch)
treec1bc9b46edd81e6ea847fafe5f418d4c6a20542c
parent306f4e3774578d1cfa79a6094733ac91379c1175 (diff)
downloadprotobuf-0869b1a0a7455dab94981aa29b8bfb69444fa13e.tar.gz
protobuf-0869b1a0a7455dab94981aa29b8bfb69444fa13e.tar.bz2
protobuf-0869b1a0a7455dab94981aa29b8bfb69444fa13e.zip
Add space between class name and concat message (#4577)
The class name was linked to the next word in the sentence. "User\UserRequestis not found in descriptor pool."
-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 04ee1c34..3aff7bd6 100644
--- a/php/src/Google/Protobuf/Internal/Message.php
+++ b/php/src/Google/Protobuf/Internal/Message.php
@@ -82,7 +82,7 @@ class Message
$pool = DescriptorPool::getGeneratedPool();
$this->desc = $pool->getDescriptorByClassName(get_class($this));
if (is_null($this->desc)) {
- user_error(get_class($this) . "is not found in descriptor pool.");
+ user_error(get_class($this) . " is not found in descriptor pool.");
}
foreach ($this->desc->getField() as $field) {
$setter = $field->getSetter();