Skip to content

Commit 7deb010

Browse files
author
Roman Syroeshko
committed
Fixed formatting.
1 parent e2ea1ee commit 7deb010

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/PhpWord/Escaper/Rtf.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@
2424
*/
2525
class Rtf extends AbstractEscaper
2626
{
27-
protected function escapeAsciiCharacter($code) {
27+
protected function escapeAsciiCharacter($code)
28+
{
2829
if (20 > $code || $code >= 80) {
2930
return '{\u' . $code . '}';
3031
} else {
3132
return chr($code);
3233
}
3334
}
3435

35-
protected function escapeMultibyteCharacter($code) {
36+
protected function escapeMultibyteCharacter($code)
37+
{
3638
return '\uc0{\u' . $code . '}';
3739
}
3840

0 commit comments

Comments
 (0)