File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1818
1919namespace PhpOffice \PhpWord \Writer \HTML \Element ;
2020
21- use PhpOffice \PhpWord \Element \Title as PhpWordTitle ;
21+ use PhpOffice \PhpWord \Element \Title as ElementTitle ;
2222use PhpOffice \PhpWord \Style ;
2323use PhpOffice \PhpWord \Writer \HTML ;
2424use 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
Original file line number Diff line number Diff 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 ],
You can’t perform that action at this time.
0 commit comments