mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 04:14:28 +00:00
General cleanup and removal of all unnecessary references
This commit is contained in:
@ -5,21 +5,20 @@ class Message
|
||||
private $_name;
|
||||
private $_value;
|
||||
|
||||
public function __construct(&$value = null, $name = null)
|
||||
public function __construct($value = null, $name = null)
|
||||
{
|
||||
$this->_name = $name;
|
||||
$this->_value = $value;
|
||||
}
|
||||
|
||||
public function& getValue()
|
||||
public function getValue()
|
||||
{
|
||||
$value = &$this->_value;
|
||||
return $value;
|
||||
return $this->_value;
|
||||
}
|
||||
|
||||
public function setValue(&$value)
|
||||
public function setValue($value)
|
||||
{
|
||||
$this->_value = &$value;
|
||||
$this->_value = $value;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
|
Reference in New Issue
Block a user