mirror of
https://github.com/furyfire/trueskill.git
synced 2025-09-06 10:28:22 +02: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