Skip to content

Commit f6f44ce

Browse files
committed
fixed some exception previous type hints
1 parent e6e3f4b commit f6f44ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Exception/CommandNotFoundException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class CommandNotFoundException extends \InvalidArgumentException implements Exce
2424
* @param string $message Exception message to throw
2525
* @param array $alternatives List of similar defined names
2626
* @param int $code Exception code
27-
* @param \Exception $previous Previous exception used for the exception chaining
27+
* @param \Throwable $previous Previous exception used for the exception chaining
2828
*/
29-
public function __construct(string $message, array $alternatives = [], int $code = 0, \Exception $previous = null)
29+
public function __construct(string $message, array $alternatives = [], int $code = 0, \Throwable $previous = null)
3030
{
3131
parent::__construct($message, $code, $previous);
3232

0 commit comments

Comments
 (0)