Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit 5814549

Browse files
committed
SourceException and not \Exception
1 parent 0be01bc commit 5814549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private function parseStringValue() {
236236
while (!$this->comes($sQuote)) {
237237
$sContent = $this->parseCharacter(false);
238238
if ($sContent === null) {
239-
throw new \Exception("Non-well-formed quoted string {$this->peek(3)}", $this->iLineNo);
239+
throw new SourceException("Non-well-formed quoted string {$this->peek(3)}", $this->iLineNo);
240240
}
241241
$sResult .= $sContent;
242242
}

0 commit comments

Comments
 (0)