Skip to content

Commit ae24c65

Browse files
committed
Somehow I hadn't removed the spurious backslashes...
1 parent 259bb57 commit ae24c65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/learning-how-tos/examples-and-guides/translation-beginners-guide.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ The first tab below shows the HTTP request you’d use here and a typical respon
178178
use DeepL\Client;
179179

180180
$authKey = "{YOUR_API_KEY}"; // replace with your key
181-
$deeplClient = new \DeepL\DeepLClient($authKey);
181+
$deeplClient = new DeepL\DeepLClient($authKey);
182182

183183
$result = $deeplClient->translateText('Hello, bright universe!', null, 'JA');
184184
echo $result->text;
@@ -400,7 +400,7 @@ If you look at the HTTP request above, you’ll notice that the translation text
400400
use DeepL\Client;
401401

402402
$authKey = "{YOUR_API_KEY}"; // replace with your key
403-
$deeplClient = new \DeepL\DeepLClient($authKey);
403+
$deeplClient = new DeepL\DeepLClient($authKey);
404404

405405
$result = $deeplClient->translateText([
406406
"¿En qué lenguaje programan los programadores españoles?",
@@ -658,7 +658,7 @@ In fact, these text strings can be in different languages. If you don’t set th
658658
use DeepL\Client;
659659

660660
$authKey = "{YOUR_API_KEY}"; // replace with your key
661-
$deeplClient = new \DeepL\DeepLClient($authKey);
661+
$deeplClient = new DeepL\DeepLClient($authKey);
662662

663663
$result = $deeplClient->translateText([
664664
"What does the 'R' in 'Recursion' stand for?",

0 commit comments

Comments
 (0)