From d4f9526e76261169d2ffd69995da63e9fd5dc2a7 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 9 Sep 2014 08:27:09 +1000 Subject: [PATCH] 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 --- src/lint/linter/ArcanistPhutilXHPASTLinter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lint/linter/ArcanistPhutilXHPASTLinter.php b/src/lint/linter/ArcanistPhutilXHPASTLinter.php index a92d3d09..75292286 100644 --- a/src/lint/linter/ArcanistPhutilXHPASTLinter.php +++ b/src/lint/linter/ArcanistPhutilXHPASTLinter.php @@ -21,17 +21,17 @@ final class ArcanistPhutilXHPASTLinter extends ArcanistBaseXHPASTLinter { '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; }