Replace $Key with $key and $Value with $value

This commit is contained in:
Jeroen De Meerleer 2019-11-16 14:43:12 +01:00
parent 9e48bc1ff1
commit 9859984a2a
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
5 changed files with 34 additions and 34 deletions

View File

@ -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();
}
}

View File

@ -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;
}
}

View File

@ -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;
}
/**

View File

@ -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;
}
/**

View File

@ -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;
}
}