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 18
18
19
19
namespace PhpOffice \PhpWord \Writer \HTML \Element ;
20
20
21
- use PhpOffice \PhpWord \Element \Title as PhpWordTitle ;
21
+ use PhpOffice \PhpWord \Element \Title as ElementTitle ;
22
22
use PhpOffice \PhpWord \Style ;
23
23
use PhpOffice \PhpWord \Writer \HTML ;
24
24
use PhpOffice \PhpWord \Writer \HTML \Style \Font ;
@@ -38,7 +38,7 @@ class Title extends AbstractElement
38
38
*/
39
39
public function write ()
40
40
{
41
- if (!$ this ->element instanceof PhpWordTitle ) {
41
+ if (!$ this ->element instanceof ElementTitle ) {
42
42
return '' ;
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ private function writeStyles(): string
101
101
102
102
foreach ([
103
103
'body ' => $ bodyarray ,
104
- //'*' => $astarray,
105
104
'a.NoteRef ' => [
106
105
'text-decoration ' => 'none ' ,
107
106
],
You can’t perform that action at this time.
0 commit comments