More debugging and realizing how PHP does references

This commit is contained in:
Jeff Moser
2010-09-25 15:46:23 -04:00
parent e8d444e7da
commit 086d94865f
21 changed files with 77 additions and 72 deletions

View File

@ -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;