diff options
author | Stanley Cheung <stanleycheung@google.com> | 2015-10-12 10:12:37 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2015-10-12 10:12:37 -0700 |
commit | f438ee17b0c890c2bb6a347f0ccf9ceb08b76575 (patch) | |
tree | 1a0c7f1ef65487027c2faf866afd7702304250e2 /src/php/lib/Grpc | |
parent | b0cd08acabe4273170e04e1f41e3656bad6db405 (diff) |
fixed comment
Diffstat (limited to 'src/php/lib/Grpc')
-rwxr-xr-x | src/php/lib/Grpc/BaseStub.php | 2 |
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; } |