Skip to content

Commit

Permalink
Merge pull request #81 from AmraniCh/master
Browse files Browse the repository at this point in the history
fix: fixed extending final class (DomException)
  • Loading branch information
lyrixx committed Dec 21, 2022
2 parents 1147733 + 041c5d8 commit 5b1abc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JoliTypo/Exception/InvalidMarkupException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace JoliTypo\Exception;

class InvalidMarkupException extends \DOMException
class InvalidMarkupException extends \RuntimeException
{
protected $message = 'An error happened when trying to read your HTML with \\DOMDocument.';
}

0 comments on commit 5b1abc0

Please sign in to comment.