Skip to content

Commit

Permalink
Fix variable name error
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalchevrel committed Mar 6, 2023
1 parent 1bbaa80 commit ed38279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pchevrel/BzKarma/Scoring.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public function __construct(array $bugsData, int $release)
{
$this->bugsData = $bugsData;
$this->release = strval($release);
$this->beta = strval($this->train - 1);
$this->nightly = strval($this->train - 2);
$this->beta = strval($this->release - 1);
$this->nightly = strval($this->release - 2);
}

public function getAllBugsScores(): array
Expand Down

0 comments on commit ed38279

Please sign in to comment.