Skip to content

Commit

Permalink
Change method names
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmy committed Nov 12, 2023
1 parent 8167f19 commit 63f52ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/UseCases/ScrapeBenchmarksAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public function __invoke(): void
$this->authenticator->authenticate($this->client);

foreach ($this->holdSetups as $holdSetup) {
$problemUrls = $this->getProblemUrls($holdSetup);
$problemUrls = $this->scrapeProblemUrls($holdSetup);

$problemData = $this->getProblemData($problemUrls);
$problemData = $this->scrapeProblemData($problemUrls);

$this->saveProblemData($problemData, $holdSetup);
}
Expand All @@ -36,7 +36,7 @@ public function __invoke(): void
/**
* @return string[]
*/
private function getProblemUrls(HoldSetup $holdSetup): array
private function scrapeProblemUrls(HoldSetup $holdSetup): array
{
$this->logger->info('Scraping problem URLs...', [
'boardType' => $holdSetup->getBoardType()->getLabel(),
Expand Down Expand Up @@ -101,7 +101,7 @@ private function getProblemUrls(HoldSetup $holdSetup): array
*
* @return \stdClass[]
*/
private function getProblemData(array $problemUrls): array
private function scrapeProblemData(array $problemUrls): array
{
$problemData = [];
$problemUrlCount = \count($problemUrls);
Expand Down

0 comments on commit 63f52ea

Please sign in to comment.