This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 5
5
- php : 7.3
6
6
- php : 7.4
7
7
- php : 8.0
8
+ - php : 8.1
8
9
- php : nightly
9
10
allow_failures :
10
11
- php : nightly
Original file line number Diff line number Diff line change 19
19
}
20
20
],
21
21
"require" : {
22
- "php" : " >=7.3 <8.1 " ,
22
+ "php" : " >=7.3 <8.2 " ,
23
23
"ext-json" : " *" ,
24
24
"ext-curl" : " *"
25
25
},
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public function languages($type = null)
64
64
* @param array|null $nonSplittingTags
65
65
* @param null $outlineDetection
66
66
* @param array|null $splittingTags
67
+ * @param string|null $glossaryId
67
68
*
68
69
* @return array
69
70
*
@@ -82,7 +83,8 @@ public function translate(
82
83
$ preserveFormatting = null ,
83
84
array $ nonSplittingTags = null ,
84
85
$ outlineDetection = null ,
85
- array $ splittingTags = null
86
+ array $ splittingTags = null ,
87
+ string $ glossaryId = null
86
88
) {
87
89
if (is_array ($ tagHandling )) {
88
90
throw new InvalidArgumentException ('$tagHandling must be of type String in V2 of DeepLLibrary ' );
@@ -99,6 +101,7 @@ public function translate(
99
101
'split_sentences ' => $ splitSentences ,
100
102
'preserve_formatting ' => $ preserveFormatting ,
101
103
'outline_detection ' => $ outlineDetection ,
104
+ 'glossary_id ' => $ glossaryId
102
105
);
103
106
104
107
$ paramsArray = $ this ->removeEmptyParams ($ paramsArray );
You can’t perform that action at this time.
0 commit comments