This repository was archived by the owner on Sep 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
lib/Sabberworm/CSS/Parsing Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 66* Thrown if the CSS parsers attempts to print something invalid
77*/
88class OutputException extends SourceException {
9- public function __construct ($ sMessage , $ iLineNo = 0 ) {
10- parent ::__construct ($ sMessage , $ iLineNo );
11- }
9+ public function __construct ($ sMessage , $ iLineNo = 0 ) {
10+ parent ::__construct ($ sMessage , $ iLineNo );
11+ }
1212}
Original file line number Diff line number Diff line change 33namespace Sabberworm \CSS \Parsing ;
44
55class SourceException extends \Exception {
6- private $ iLineNo ;
7- public function __construct ($ sMessage , $ iLineNo = 0 ) {
8- $ this ->iLineNo = $ iLineNo ;
9- if (!empty ($ iLineNo )) {
10- $ sMessage .= " [line no: $ iLineNo] " ;
11- }
12- parent ::__construct ($ sMessage );
13- }
6+ private $ iLineNo ;
7+ public function __construct ($ sMessage , $ iLineNo = 0 ) {
8+ $ this ->iLineNo = $ iLineNo ;
9+ if (!empty ($ iLineNo )) {
10+ $ sMessage .= " [line no: $ iLineNo] " ;
11+ }
12+ parent ::__construct ($ sMessage );
13+ }
1414
15- public function getLineNo () {
16- return $ this ->iLineNo ;
17- }
15+ public function getLineNo () {
16+ return $ this ->iLineNo ;
17+ }
1818}
You can’t perform that action at this time.
0 commit comments