mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
throw exception instead of using Panic
This commit is contained in:
@ -101,7 +101,7 @@ final class TestSuite
|
||||
}
|
||||
|
||||
if (! self::$instance instanceof self) {
|
||||
Panic::with(new InvalidPestCommand);
|
||||
throw new InvalidPestCommand;
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
|
||||
Reference in New Issue
Block a user