Skip to content

Commit 2b4b200

Browse files
committed
fix namespace
1 parent 11d816f commit 2b4b200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Writer/Word2007/Element/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function write()
6464
$xmlWriter->endElement(); // w:r
6565

6666
if ($element->getText() != null) {
67-
if ($element->getText() instanceof PhpOffice\PhpWord\Element\TextRun) {
67+
if ($element->getText() instanceof \PhpOffice\PhpWord\Element\TextRun) {
6868

6969
$containerWriter = new Container($xmlWriter, $element->getText(), true);
7070
$containerWriter->write();

0 commit comments

Comments
 (0)