]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Reduce method visibility.
authorJoshua Spence <josh@joshuaspence.com>
Tue, 6 May 2014 03:31:33 +0000 (20:31 -0700)
committerepriestley <git@epriestley.com>
Tue, 6 May 2014 03:31:33 +0000 (20:31 -0700)
Summary: These methods are declared `public`, but there are meant to be `protected` (as they are declared in `ArcanistExternalLinter`).

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8991

src/lint/linter/ArcanistJSHintLinter.php

index 52cb01465f971bbb839ae9f9b2ca34cb44aa9114..0463547abda8968e4aede74bec465f73761ac33a 100644 (file)
@@ -63,13 +63,13 @@ final class ArcanistJSHintLinter extends ArcanistExternalLinter {
     return '-';
   }
 
-  public function getMandatoryFlags() {
+  protected function getMandatoryFlags() {
     return array(
       '--reporter='.dirname(realpath(__FILE__)).'/reporter.js',
     );
   }
 
-  public function getDefaultFlags() {
+  protected function getDefaultFlags() {
     $config_manager = $this->getEngine()->getConfigurationManager();
     $options = $config_manager->getConfigFromAnySource(
       'lint.jshint.options',