mirror of
https://github.com/furyfire/trueskill.git
synced 2025-10-30 16:02:29 +01:00
More debugging and realizing how PHP does references
This commit is contained in:
@@ -49,7 +49,7 @@ class FactorList
|
||||
return count($this->_list);
|
||||
}
|
||||
|
||||
public function addFactor(Factor $factor)
|
||||
public function addFactor(Factor &$factor)
|
||||
{
|
||||
$this->_list[] = $factor;
|
||||
return $factor;
|
||||
|
||||
Reference in New Issue
Block a user