From f438ee17b0c890c2bb6a347f0ccf9ceb08b76575 Mon Sep 17 00:00:00 2001
From: Stanley Cheung <stanleycheung@google.com>
Date: Mon, 12 Oct 2015 10:12:37 -0700
Subject: [PATCH] fixed comment

---
 src/php/lib/Grpc/BaseStub.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/php/lib/Grpc/BaseStub.php b/src/php/lib/Grpc/BaseStub.php
index f61b8e9c3d..0a3e1f78bf 100755
--- a/src/php/lib/Grpc/BaseStub.php
+++ b/src/php/lib/Grpc/BaseStub.php
@@ -165,7 +165,7 @@ class BaseStub {
       if (!preg_match('/^[A-Za-z\d_-]+$/', $key)) {
         throw new \InvalidArgumentException(
             'Metadata keys must be nonempty strings containing only '.
-            'alphanumeric characters and hyphens');
+            'alphanumeric characters, hyphens and underscores');
       }
       $metadata_copy[strtolower($key)] = $value;
     }
-- 
GitLab