Skip to content

Commit 95263f2

Browse files
authored
[TASK] Mark Exception classes as final (#731)
Fixes #709
1 parent 1f67618 commit 95263f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Parsing/OutputException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Thrown if the CSS parser attempts to print something invalid.
99
*/
10-
class OutputException extends SourceException
10+
final class OutputException extends SourceException
1111
{
1212
/**
1313
* @param string $sMessage

src/Parsing/UnexpectedEOFException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
*
1010
* Extends `UnexpectedTokenException` in order to preserve backwards compatibility.
1111
*/
12-
class UnexpectedEOFException extends UnexpectedTokenException {}
12+
final class UnexpectedEOFException extends UnexpectedTokenException {}

0 commit comments

Comments
 (0)