Skip to content

Commit

Permalink
Rename method to fileAnalysers
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 16, 2023
1 parent 8337610 commit c82be51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monorepo/HydeStan/HydeStan.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function getFiles(): array

private function analyseFile(string $file, string $contents): void
{
foreach ($this->analysers() as $analyser) {
foreach ($this->fileAnalysers() as $analyser) {
if ($this->debug) {
$this->console->debugComment('Running '.$analyser::class);
}
Expand Down Expand Up @@ -119,7 +119,7 @@ private function getFileContents(string $file): string
return file_get_contents(BASE_PATH.'/'.$file);
}

private function analysers(): array
private function fileAnalysers(): array
{
return [
new NoFixMeAnalyser(),
Expand Down

0 comments on commit c82be51

Please sign in to comment.