Skip to content

Commit

Permalink
#26 Change LuceneException type-hint from Exception to Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
scrummer committed Feb 12, 2024
1 parent deb507b commit e81d327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DsLuceneBundle/Exception/LuceneException.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ final class LuceneException extends \Exception
{
public function __construct(string $message, ?\Throwable $previousException = null)
{
parent::__construct(sprintf('Lucene Exception: %s', $message), previous: $previousException);
parent::__construct(message: sprintf('Lucene Exception: %s', $message), previous: $previousException);
}
}

0 comments on commit e81d327

Please sign in to comment.