mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-04 11:42:47 +02:00
More type work.
This commit is contained in:
@ -4,7 +4,7 @@ namespace DNW\Skills\Numerics;
|
||||
|
||||
class IdentityMatrix extends DiagonalMatrix
|
||||
{
|
||||
public function __construct($rows)
|
||||
public function __construct(int $rows)
|
||||
{
|
||||
parent::__construct(array_fill(0, $rows, 1));
|
||||
}
|
||||
|
Reference in New Issue
Block a user