mirror of
https://github.com/furyfire/trueskill.git
synced 2025-11-04 18:12:29 +01: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