mirror of
https://github.com/furyfire/trueskill.git
synced 2026-06-22 13:53:57 +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