Upgrade with rector

This commit is contained in:
Alex Wulf
2022-07-05 16:21:06 +02:00
parent fd5d276359
commit 689e3b75fe
38 changed files with 144 additions and 355 deletions

View File

@ -4,9 +4,8 @@ namespace DNW\Skills\Numerics;
class SquareMatrix extends Matrix
{
public function __construct()
public function __construct(...$allValues)
{
$allValues = func_get_args();
$rows = (int) sqrt(count($allValues));
$cols = $rows;