From ed38279fdc96fc5b3a55d1258db235b4640c0e37 Mon Sep 17 00:00:00 2001 From: Pascal Chevrel Date: Mon, 6 Mar 2023 14:49:33 +0100 Subject: [PATCH] Fix variable name error --- src/pchevrel/BzKarma/Scoring.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pchevrel/BzKarma/Scoring.php b/src/pchevrel/BzKarma/Scoring.php index c3de7e0..c77bd1f 100644 --- a/src/pchevrel/BzKarma/Scoring.php +++ b/src/pchevrel/BzKarma/Scoring.php @@ -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