diff --git a/src/Game.php b/src/Game.php index e3c936c..ed9d287 100644 --- a/src/Game.php +++ b/src/Game.php @@ -40,9 +40,9 @@ class Game /** @var int */ public $Board; - public function __get(string $Key) + public function __get(string $key) { - if ($Key == 'Result') { + if ($key == 'Result') { return $this->calculateResult(); } } diff --git a/src/Player.php b/src/Player.php index 2fda030..6078a08 100644 --- a/src/Player.php +++ b/src/Player.php @@ -257,13 +257,13 @@ class Player /** * Returns binary data that was read out the pairing file but was not needed immediately * - * @param string $Key + * @param string $key * @return bool|DateTime|int|string|null */ - public function __get(string $Key) + public function __get(string $key) { - if (isset($this->BinaryData[$Key])) { - return $this->BinaryData[$Key]; + if (isset($this->BinaryData[$key])) { + return $this->BinaryData[$key]; } return null; } @@ -271,11 +271,11 @@ class Player /** * Sets binary data that is read out the pairing file but is not needed immediately * - * @param string $Key - * @param bool|int|DateTime|string $Value + * @param string $key + * @param bool|int|DateTime|string $Valueey */ - public function __set(string $Key, $Value): void + public function __set(string $key, $Valueey): void { - $this->BinaryData[$Key] = $Value; + $this->BinaryData[$key] = $Valueey; } } diff --git a/src/Readers/Pairtwo6.php b/src/Readers/Pairtwo6.php index 6d1d33f..2c65dcf 100644 --- a/src/Readers/Pairtwo6.php +++ b/src/Readers/Pairtwo6.php @@ -57,13 +57,13 @@ class Pairtwo6 implements ReaderInterface /** * Returns binary data that was read out the pairtwo file but was not needed immediately * - * @param string $Key + * @param string $key * @return bool|DateTime|int|string|null */ - public function __get(string $Key) + public function __get(string $key) { - if (isset($this->BinaryData[$Key])) { - return $this->BinaryData[$Key]; + if (isset($this->BinaryData[$key])) { + return $this->BinaryData[$key]; } return null; } @@ -71,12 +71,12 @@ class Pairtwo6 implements ReaderInterface /** * Sets binary data that is read out the pairtwo file but is not needed immediately * - * @param string $Key - * @param bool|int|DateTime|string $Value + * @param string $key + * @param bool|int|DateTime|string $Valueey */ - public function __set(string $Key, $Value): void + public function __set(string $key, $Valueey): void { - $this->BinaryData[$Key] = $Value; + $this->BinaryData[$key] = $Valueey; } /** diff --git a/src/Readers/Swar4.php b/src/Readers/Swar4.php index cccc018..23d0343 100644 --- a/src/Readers/Swar4.php +++ b/src/Readers/Swar4.php @@ -562,13 +562,13 @@ class Swar4 implements ReaderInterface /** * Returns binary data that was read out the swar file but was not needed immediately * - * @param string $Key + * @param string $key * @return bool|DateTime|int|string|null */ - public function __get(string $Key) + public function __get(string $key) { - if (isset($this->BinaryData[$Key])) { - return $this->BinaryData[$Key]; + if (isset($this->BinaryData[$key])) { + return $this->BinaryData[$key]; } return null; } @@ -576,12 +576,12 @@ class Swar4 implements ReaderInterface /** * Sets binary data that is read out the swar file but is not needed immediately * - * @param string $Key - * @param bool|int|DateTime|string $Value + * @param string $key + * @param bool|int|DateTime|string $Valueey */ - public function __set(string $Key, $Value): void + public function __set(string $key, $Valueey): void { - $this->BinaryData[$Key] = $Value; + $this->BinaryData[$key] = $Valueey; } /** diff --git a/src/Tournament.php b/src/Tournament.php index f55bf26..cc1e2e7 100644 --- a/src/Tournament.php +++ b/src/Tournament.php @@ -822,13 +822,13 @@ class Tournament /** * Returns binary data that was read out the pairing file but was not needed immediately * - * @param string $Key + * @param string $key * @return bool|DateTime|int|string|null */ - public function __get(string $Key) + public function __get(string $key) { - if (isset($this->BinaryData[$Key])) { - return $this->BinaryData[$Key]; + if (isset($this->BinaryData[$key])) { + return $this->BinaryData[$key]; } return null; } @@ -836,12 +836,12 @@ class Tournament /** * Sets binary data that is read out the pairing file but is not needed immediately * - * @param string $Key - * @param bool|int|DateTime|string $Value + * @param string $key + * @param bool|int|DateTime|string $Valueeyey * @return void */ - public function __set(string $Key, $Value): void + public function __set(string $key, $Valueey): void { - $this->BinaryData[$Key] = $Value; + $this->BinaryData[$key] = $Valueey; } }