diff options
-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; } |