Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15440438
D13458.id32571.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
360 B
Referenced Files
None
Subscribers
None
D13458.id32571.diff
View Options
diff --git a/src/parser/PhutilTypeSpec.php b/src/parser/PhutilTypeSpec.php
--- a/src/parser/PhutilTypeSpec.php
+++ b/src/parser/PhutilTypeSpec.php
@@ -166,7 +166,7 @@
foreach ($types as $key => $type) {
if (array_key_exists($key, $values)) {
- $type->check($values[$key]);
+ $type->check($values[$key], $key);
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 27, 12:50 PM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7613507
Default Alt Text
D13458.id32571.diff (360 B)
Attached To
Mode
D13458: show key name when map value is of wrong type
Attached
Detach File
Event Timeline
Log In to Comment