mirror of
https://github.com/furyfire/trueskill.git
synced 2025-05-06 20:00:12 +00:00
First TwoPlayerTrueSkillCalculator unit test passed
This commit is contained in:
18
PHPSkills/Teams.php
Normal file
18
PHPSkills/Teams.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace Moserware\Skills;
|
||||
|
||||
class Teams
|
||||
{
|
||||
public static function concat(/*variable arguments*/)
|
||||
{
|
||||
$args = \func_get_args();
|
||||
$result = array();
|
||||
|
||||
foreach ($args as $currentTeam) {
|
||||
$result[] = $currentTeam;
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user