mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Add some missing function parameter typehints
Summary: Add some missing function parameter typehints to the `ArcanistPhutilXHPASTLinter` class. Test Plan: Eyeball it. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10430
This commit is contained in:
parent
ce58b92dff
commit
d4f9526e76
1 changed files with 3 additions and 3 deletions
|
@ -21,17 +21,17 @@ final class ArcanistPhutilXHPASTLinter extends ArcanistBaseXHPASTLinter {
|
||||||
'linter is intended for use in Phabricator libraries and extensions.');
|
'linter is intended for use in Phabricator libraries and extensions.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDeprecatedFunctions($map) {
|
public function setDeprecatedFunctions(array $map) {
|
||||||
$this->deprecatedFunctions = $map;
|
$this->deprecatedFunctions = $map;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDynamicStringFunctions($map) {
|
public function setDynamicStringFunctions(array $map) {
|
||||||
$this->dynamicStringFunctions = $map;
|
$this->dynamicStringFunctions = $map;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDynamicStringClasses($map) {
|
public function setDynamicStringClasses(array $map) {
|
||||||
$this->dynamicStringClasses = $map;
|
$this->dynamicStringClasses = $map;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue