Skip to content

Commit

Permalink
Apply Suggested Changes
Browse files Browse the repository at this point in the history
Suggestions from @Progi1984
  • Loading branch information
oleibman committed Feb 12, 2025
1 parent e740deb commit 1368e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/PhpWord/Writer/HTML/Element/Title.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace PhpOffice\PhpWord\Writer\HTML\Element;

use PhpOffice\PhpWord\Element\Title as PhpWordTitle;
use PhpOffice\PhpWord\Element\Title as ElementTitle;
use PhpOffice\PhpWord\Style;
use PhpOffice\PhpWord\Writer\HTML;
use PhpOffice\PhpWord\Writer\HTML\Style\Font;
Expand All @@ -38,7 +38,7 @@ class Title extends AbstractElement
*/
public function write()
{
if (!$this->element instanceof PhpWordTitle) {
if (!$this->element instanceof ElementTitle) {
return '';
}

Expand Down
1 change: 0 additions & 1 deletion src/PhpWord/Writer/HTML/Part/Head.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ private function writeStyles(): string

foreach ([
'body' => $bodyarray,
//'*' => $astarray,
'a.NoteRef' => [
'text-decoration' => 'none',
],
Expand Down

0 comments on commit 1368e21

Please sign in to comment.