Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 2296053

Browse files
committed
- fix typo
1 parent a0ce416 commit 2296053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DeepL.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class DeepL
7272
/**
7373
* API URL: Parameter preserve_formatting
7474
*/
75-
const API_URL_PRESERVER_FORMATING = 'preserve_formatting=%s';
75+
const API_URL_PRESERVE_FORMATTING = 'preserve_formatting=%s';
7676

7777
/**
7878
* API URL: Parameter non_splitting_tags
@@ -327,7 +327,7 @@ protected function buildUrl(
327327
}
328328

329329
if (false === empty($preserveFormatting)) {
330-
$url .= '&'.sprintf(self::API_URL_PRESERVER_FORMATING, $preserveFormatting);
330+
$url .= '&'.sprintf(self::API_URL_PRESERVE_FORMATTING, $preserveFormatting);
331331
}
332332

333333
if (false === empty($nonSplittingTags)) {

0 commit comments

Comments
 (0)