We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b24107 commit 76de473Copy full SHA for 76de473
Exception/ParseException.php
@@ -30,7 +30,7 @@ class ParseException extends RuntimeException
30
* @param string|null $parsedFile The file name where the error occurred
31
* @param \Exception|null $previous The previous exception
32
*/
33
- public function __construct(string $message, int $parsedLine = -1, string $snippet = null, string $parsedFile = null, \Exception $previous = null)
+ public function __construct(string $message, int $parsedLine = -1, string $snippet = null, string $parsedFile = null, \Throwable $previous = null)
34
{
35
$this->parsedFile = $parsedFile;
36
$this->parsedLine = $parsedLine;
0 commit comments