Now it throws an error, but at least it runs something

This commit is contained in:
Jeff Moser
2010-09-25 12:50:33 -04:00
parent c4c6128c57
commit e8d444e7da
6 changed files with 21 additions and 12 deletions

View File

@ -6,7 +6,9 @@ require_once(dirname(__FILE__) . '/RatingContainer.php');
class Team extends RatingContainer
{
public function __construct($player = null, $rating = null)
{
{
parent::__construct();
if(!\is_null($player))
{
$this->addPlayer($player, $rating);