Skip to content

Commit cb1ba73

Browse files
authored
Removed ambiguity
1 parent 33aa056 commit cb1ba73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ protected static function ensureMacroCompleted($macro)
269269
*/
270270
protected static function ensureUtf8Encoded($subject)
271271
{
272-
return $subject !== null ? Text::toUTF8($subject) : '';
272+
return ($subject !== null) ? Text::toUTF8($subject) : '';
273273
}
274274

275275
/**

0 commit comments

Comments
 (0)