More types

This commit is contained in:
2023-08-02 10:59:15 +00:00
parent 5c7471963c
commit 72de6363fe
6 changed files with 16 additions and 9 deletions

View File

@@ -57,7 +57,7 @@ class Matrix
return $this->matrixRowData[$row][$col];
}
public function setValue(int $row, int $col, float|int $value)
public function setValue(int $row, int $col, float|int $value): void
{
$this->matrixRowData[$row][$col] = $value;
}