Browse Source

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."
Petar Dambovaliev 7 years ago
parent
commit
0869b1a0a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/src/Google/Protobuf/Internal/Message.php

+ 1 - 1
php/src/Google/Protobuf/Internal/Message.php

@@ -82,7 +82,7 @@ class Message
         $pool = DescriptorPool::getGeneratedPool();
         $pool = DescriptorPool::getGeneratedPool();
         $this->desc = $pool->getDescriptorByClassName(get_class($this));
         $this->desc = $pool->getDescriptorByClassName(get_class($this));
         if (is_null($this->desc)) {
         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) {
         foreach ($this->desc->getField() as $field) {
             $setter = $field->getSetter();
             $setter = $field->getSetter();