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 6
6
* Thrown if the CSS parsers attempts to print something invalid
7
7
*/
8
8
class 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
+ }
12
12
}
Original file line number Diff line number Diff line change 3
3
namespace Sabberworm \CSS \Parsing ;
4
4
5
5
class 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
+ }
14
14
15
- public function getLineNo () {
16
- return $ this ->iLineNo ;
17
- }
15
+ public function getLineNo () {
16
+ return $ this ->iLineNo ;
17
+ }
18
18
}
You can’t perform that action at this time.
0 commit comments