mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-26 05:30:06 +00:00
24 lines
389 B
PHP
24 lines
389 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DNW\Skills;
|
|
|
|
class Teams
|
|
{
|
|
/**
|
|
* @return Team[]
|
|
*/
|
|
public static function concat(Team ...$args/*variable arguments*/): array
|
|
{
|
|
$result = [];
|
|
|
|
foreach ($args as $currentTeam) {
|
|
$localCurrentTeam = $currentTeam;
|
|
$result[] = $localCurrentTeam;
|
|
}
|
|
|
|
return $result;
|
|
}
|
|
}
|