From 4cee5fe1166dc71e0766d0fdb0d9ed4ef1752542 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Thu, 19 Sep 2024 11:51:17 +0200 Subject: [PATCH] Refactor 'absent' to 'presence' in Swar6 reader The key for the custom points array has been changed from 'absent' to 'presence'. This change is made in the Swar6 class, specifically within the method that reads data from a handle. The value associated with this key remains unchanged. --- src/Readers/Swar6.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Readers/Swar6.php b/src/Readers/Swar6.php index ea2609e..a8655e2 100644 --- a/src/Readers/Swar6.php +++ b/src/Readers/Swar6.php @@ -282,7 +282,7 @@ class Swar6 implements ReaderInterface $custompoints['draw'] = $this->readData('Int', $swshandle) / 4; $custompoints['loss'] = $this->readData('Int', $swshandle) / 4; $custompoints['bye'] = $this->readData('Int', $swshandle) / 4; - $custompoints['absent'] = $this->readData('Int', $swshandle) / 4; + $custompoints['presence'] = $this->readData('Int', $swshandle) / 4; if($applycustompoints) $this->Tournament->CustomPoints = $custompoints; $this->Tournament->EloUsed = $this->readData('Int', $swshandle); $this->Tournament->TournoiStd = $this->readData('Int', $swshandle);