rector: instanceOf, earlyReturn, strictBooleans

This commit is contained in:
2024-02-21 14:02:35 +00:00
parent 0184d0432b
commit c781540aa6
4 changed files with 10 additions and 8 deletions

View File

@ -301,9 +301,8 @@ class Matrix
if ($isEven) {
return $this->getMinorMatrix($rowToRemove, $columnToRemove)->getDeterminant();
} else {
return -1.0 * $this->getMinorMatrix($rowToRemove, $columnToRemove)->getDeterminant();
}
return -1.0 * $this->getMinorMatrix($rowToRemove, $columnToRemove)->getDeterminant();
}
public function equals(Matrix $otherMatrix): bool