mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
General cleanup and removal of all unnecessary references
This commit is contained in:
@ -4,15 +4,14 @@ class KeyedVariable extends Variable
|
||||
{
|
||||
private $_key;
|
||||
|
||||
public function __construct(&$key, $name, &$prior)
|
||||
public function __construct($key, $name, $prior)
|
||||
{
|
||||
parent::__construct($name, $prior);
|
||||
$this->_key = &$key;
|
||||
$this->_key = $key;
|
||||
}
|
||||
|
||||
public function &getKey()
|
||||
public function getKey()
|
||||
{
|
||||
$key = &$this->_key;
|
||||
return $key;
|
||||
return $this->_key;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user