mirror of
https://github.com/furyfire/trueskill.git
synced 2025-03-31 13:14:02 +00:00
More debugging and realizing how PHP does references
This commit is contained in:
@ -14,12 +14,12 @@ class Variable
|
||||
$this->resetToPrior();
|
||||
}
|
||||
|
||||
public function getValue()
|
||||
public function &getValue()
|
||||
{
|
||||
return $this->_value;
|
||||
}
|
||||
|
||||
public function setValue($value)
|
||||
public function setValue(&$value)
|
||||
{
|
||||
$this->_value = $value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user