Skip to content

Commit 541d399

Browse files
committed
fix: incorrect base class for exceptions
All exceptions by Shield should implement BaseException.
1 parent 281ea87 commit 541d399

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Exceptions/SecurityException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace CodeIgniter\Shield\Exceptions;
66

7-
use RuntimeException;
8-
97
class SecurityException extends RuntimeException
108
{
119
}

src/Exceptions/ValidationException.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace CodeIgniter\Shield\Exceptions;
66

7-
use RuntimeException;
8-
97
class ValidationException extends RuntimeException
108
{
119
}

0 commit comments

Comments
 (0)