Skip to content

Commit e546f27

Browse files
committed
fix: typo in Exception classname
1 parent fade2c1 commit e546f27

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Test/MockInputOutput.php

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

77
use CodeIgniter\CLI\CLI;
88
use CodeIgniter\CodeIgniter;
9-
use CodeIgniter\Log\Exceptions\LogException;
109
use CodeIgniter\Shield\Commands\Utils\InputOutput;
10+
use CodeIgniter\Shield\Exceptions\LogicException;
1111
use CodeIgniter\Test\Filters\CITestStreamFilter;
1212
use CodeIgniter\Test\PhpStreamWrapper;
1313

@@ -67,7 +67,7 @@ public function prompt(string $field, $options = null, $validation = null): stri
6767
CITestStreamFilter::removeErrorFilter();
6868

6969
if ($input !== $userInput) {
70-
throw new LogException($input . '!==' . $userInput);
70+
throw new LogicException($input . '!==' . $userInput);
7171
}
7272
}
7373

0 commit comments

Comments
 (0)