mirror of
				https://github.com/furyfire/trueskill.git
				synced 2025-11-01 00:42:30 +01:00 
			
		
		
		
	Fixed up older calculators and started some file cleanup
This commit is contained in:
		| @@ -7,7 +7,7 @@ require_once(dirname(__FILE__) . '/RatingContainer.php'); | ||||
|  | ||||
| class Team extends RatingContainer | ||||
| { | ||||
|     public function __construct(Player &$player = null, Rating &$rating = null) | ||||
|     public function __construct(Player &$player = null, Rating $rating = null) | ||||
|     { | ||||
|         parent::__construct(); | ||||
|          | ||||
| @@ -17,7 +17,7 @@ class Team extends RatingContainer | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public function addPlayer(Player &$player, Rating &$rating) | ||||
|     public function addPlayer(Player &$player, Rating $rating) | ||||
|     { | ||||
|         $this->setRating($player, $rating); | ||||
|         return $this; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeff Moser
					Jeff Moser