Skip to content
Snippets Groups Projects
Commit f438ee17 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

fixed comment

parent b0cd08ac
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ class BaseStub { ...@@ -165,7 +165,7 @@ class BaseStub {
if (!preg_match('/^[A-Za-z\d_-]+$/', $key)) { if (!preg_match('/^[A-Za-z\d_-]+$/', $key)) {
throw new \InvalidArgumentException( throw new \InvalidArgumentException(
'Metadata keys must be nonempty strings containing only '. 'Metadata keys must be nonempty strings containing only '.
'alphanumeric characters and hyphens'); 'alphanumeric characters, hyphens and underscores');
} }
$metadata_copy[strtolower($key)] = $value; $metadata_copy[strtolower($key)] = $value;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment