@@ -22,8 +22,9 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | public function handleCharacterData($characters) |
| 24 | 24 | { |
| 25 | - if (ord($characters) === 10 && empty($this->charData)) |
|
| 26 | - return; |
|
| 25 | + if (ord($characters) === 10 && empty($this->charData)) { |
|
| 26 | + return; |
|
| 27 | + } |
|
| 27 | 28 | $this->charData .= $characters; |
| 28 | 29 | } |
| 29 | 30 | |
@@ -51,7 +52,8 @@ discard block |
||
| 51 | 52 | return $default; |
| 52 | 53 | } |
| 53 | 54 | |
| 54 | - protected final function onParseError($namespace, $startEnd, $tagName){ |
|
| 55 | + protected final function onParseError($namespace, $startEnd, $tagName) |
|
| 56 | + { |
|
| 55 | 57 | throw new ParseError(sprintf(self::$processExceptionMessage, $namespace, $startEnd, $tagName)); |
| 56 | 58 | |
| 57 | 59 | } |