Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14030166
D10430.id25091.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
848 B
Referenced Files
None
Subscribers
None
D10430.id25091.diff
View Options
diff --git a/src/lint/linter/ArcanistPhutilXHPASTLinter.php b/src/lint/linter/ArcanistPhutilXHPASTLinter.php
--- a/src/lint/linter/ArcanistPhutilXHPASTLinter.php
+++ b/src/lint/linter/ArcanistPhutilXHPASTLinter.php
@@ -21,17 +21,17 @@
'linter is intended for use in Phabricator libraries and extensions.');
}
- public function setDeprecatedFunctions($map) {
+ public function setDeprecatedFunctions(array $map) {
$this->deprecatedFunctions = $map;
return $this;
}
- public function setDynamicStringFunctions($map) {
+ public function setDynamicStringFunctions(array $map) {
$this->dynamicStringFunctions = $map;
return $this;
}
- public function setDynamicStringClasses($map) {
+ public function setDynamicStringClasses(array $map) {
$this->dynamicStringClasses = $map;
return $this;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 10, 12:16 AM (3 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716382
Default Alt Text
D10430.id25091.diff (848 B)
Attached To
Mode
D10430: Add some missing function parameter typehints
Attached
Detach File
Event Timeline
Log In to Comment