瀏覽代碼

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 年之前
父節點
當前提交
0869b1a0a7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
         $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();