mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-16 01:47:39 +00:00
19 lines
325 B
PHP
19 lines
325 B
PHP
<?php
|
|
|
|
namespace DNW\Skills;
|
|
|
|
class Teams
|
|
{
|
|
public static function concat(Team ...$args/*variable arguments*/): array
|
|
{
|
|
$result = [];
|
|
|
|
foreach ($args as $currentTeam) {
|
|
$localCurrentTeam = $currentTeam;
|
|
$result[] = $localCurrentTeam;
|
|
}
|
|
|
|
return $result;
|
|
}
|
|
}
|