fixed comment

pull/3790/head
Stanley Cheung 9 years ago
parent b0cd08acab
commit f438ee17b0
  1. 2
      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;
}

Loading…
Cancel
Save