Skip to content

Commit 1368e21

Browse files
committed
Apply Suggested Changes
Suggestions from @Progi1984
1 parent e740deb commit 1368e21

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/PhpWord/Writer/HTML/Element/Title.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
namespace PhpOffice\PhpWord\Writer\HTML\Element;
2020

21-
use PhpOffice\PhpWord\Element\Title as PhpWordTitle;
21+
use PhpOffice\PhpWord\Element\Title as ElementTitle;
2222
use PhpOffice\PhpWord\Style;
2323
use PhpOffice\PhpWord\Writer\HTML;
2424
use PhpOffice\PhpWord\Writer\HTML\Style\Font;
@@ -38,7 +38,7 @@ class Title extends AbstractElement
3838
*/
3939
public function write()
4040
{
41-
if (!$this->element instanceof PhpWordTitle) {
41+
if (!$this->element instanceof ElementTitle) {
4242
return '';
4343
}
4444

src/PhpWord/Writer/HTML/Part/Head.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ private function writeStyles(): string
101101

102102
foreach ([
103103
'body' => $bodyarray,
104-
//'*' => $astarray,
105104
'a.NoteRef' => [
106105
'text-decoration' => 'none',
107106
],

0 commit comments

Comments
 (0)