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

Commit b6d09eb

Browse files
committed
Fixed array syntax
1 parent 16d4b20 commit b6d09eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DeepL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function __destruct()
131131
*
132132
* @throws DeepLException
133133
*/
134-
public function translate($text, $sourceLanguage = 'de', $destinationLanguage = 'en', array $tagHandling = [])
134+
public function translate($text, $sourceLanguage = 'de', $destinationLanguage = 'en', array $tagHandling = array())
135135
{
136136
// make sure we only accept supported languages
137137
$this->checkLanguages($sourceLanguage, $destinationLanguage);

0 commit comments

Comments
 (0)