Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lanedirt committed Dec 10, 2024
1 parent aea65e6 commit a41dcf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions app/Services/PlayerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ public function isResearching(): bool
/**
* Get is the player researching the tech or not
*
* @param string $machine_name
* @param int $level
* @return bool
*/
public function isResearchingTech(string $machine_name, int $level): bool
Expand Down
6 changes: 1 addition & 5 deletions app/Services/ResearchQueueService.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ public function add(PlayerService $player, PlanetService $planet, int $research_
}

/**
* Retrieve current research queue for a planet.
*
* @TODO this function is not retrieving the queue for a planet
* like the comment says, instead the queue is retrieved for a player.
* Bug or incorrect comment?
* Retrieve current research queue for a player.
*
* @param PlanetService $planet
* @return ResearchQueueListViewModel
Expand Down

0 comments on commit a41dcf2

Please sign in to comment.