More type work.

This commit is contained in:
2023-08-02 10:10:57 +00:00
parent a60187a3fd
commit 5c7471963c
14 changed files with 43 additions and 38 deletions

View File

@ -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));
}