Skip to content

Commit 612fefd

Browse files
authored
Merge pull request #2087 from MegaChriz/patch-1
Corrected namespace for Language class in docs.
2 parents 1bd7cd6 + 1e0157f commit 612fefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/general.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ The default language of the document can be change with the following.
228228
$phpWord->getSettings()->setThemeFontLang(new Language(Language::FR_BE));
229229
230230
``Language`` has 3 parameters, one for Latin languages, one for East Asian languages and one for Complex (Bi-Directional) languages.
231-
A couple of language codes are provided in the ``PhpOffice\PhpWord\ComplexType\Language`` class but any valid code/ID can be used.
231+
A couple of language codes are provided in the ``PhpOffice\PhpWord\Style\Language`` class but any valid code/ID can be used.
232232

233233
In case you are generating an RTF document the language need to be set differently.
234234

0 commit comments

Comments
 (0)