mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-10 22:12:07 +02:00
More type work
This commit is contained in:
@ -4,7 +4,7 @@ namespace DNW\Skills\Numerics;
|
||||
|
||||
class SquareMatrix extends Matrix
|
||||
{
|
||||
public function __construct(...$allValues)
|
||||
public function __construct(float|int ...$allValues)
|
||||
{
|
||||
$rows = (int) sqrt(count($allValues));
|
||||
$cols = $rows;
|
||||
|
Reference in New Issue
Block a user