aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-10-12 10:12:37 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-10-12 10:12:37 -0700
commitf438ee17b0c890c2bb6a347f0ccf9ceb08b76575 (patch)
tree1a0c7f1ef65487027c2faf866afd7702304250e2
parentb0cd08acabe4273170e04e1f41e3656bad6db405 (diff)
fixed comment
-rwxr-xr-xsrc/php/lib/Grpc/BaseStub.php2
1 files changed, 1 insertions, 1 deletions
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;
}