Skip to content

Commit 08de0a7

Browse files
committed
Update exception inheritance.
1 parent 9c0daf3 commit 08de0a7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/MatrixException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Exception;
66

7-
final class MatrixException extends Exception
7+
class MatrixException extends Exception
88
{
99
//
1010
}

src/VectorException.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
namespace MCordingley\LinearAlgebra;
44

5-
use Exception;
6-
7-
final class VectorException extends Exception
5+
final class VectorException extends MatrixException
86
{
7+
//
98
}

0 commit comments

Comments
 (0)