Skip to content

Commit f9bdbcd

Browse files
committed
removed changed
1 parent 7513ca0 commit f9bdbcd

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

examples/language.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$customHeaders = [];
2323
$customHeaders[0] = $appHeader;
2424
$params->set('content', $content);
25-
$params->loadCustomHeaders($customHeaders);
25+
//$params->loadCustomHeaders($customHeaders);
2626

2727
try {
2828
$result = $api->language($params);

source/rosette/api/DocumentParameters.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class DocumentParameters extends RosetteParamsSetBase
5656
/**
5757
* @var array customHeaders to allow user to provide custom headers for an API request
5858
*/
59-
public $customHeaders;
59+
//public $customHeaders;
6060

6161
/**
6262
* Constructor.
@@ -171,8 +171,8 @@ public function loadDocumentString($stringData, $multiPart = false)
171171
* @throws RosetteException
172172
*/
173173

174-
public function loadCustomHeaders($headers)
174+
/*public function loadCustomHeaders($headers)
175175
{
176176
$this->customHeaders = $headers;
177-
}
177+
}*/
178178
}

source/rosette/api/NameSimilarityParameters.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class NameSimilarityParameters extends RosetteParamsSetBase
3737
/**
3838
* @var array customHeaders to allow user to provide custom headers for an API request
3939
*/
40-
public $customHeaders;
40+
//public $customHeaders;
4141
/**
4242
* constructor.
4343
*
@@ -82,8 +82,8 @@ public function validate()
8282
* @throws RosetteException
8383
*/
8484

85-
public function loadCustomHeaders($headers)
85+
/*public function loadCustomHeaders($headers)
8686
{
8787
$this->customHeaders = $headers;
88-
}
88+
}*/
8989
}

source/rosette/api/NameTranslationParameters.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class NameTranslationParameters extends RosetteParamsSetBase
6161
/**
6262
* @var array customHeaders to allow user to provide custom headers for an API request
6363
*/
64-
public $customHeaders;
64+
//public $customHeaders;
6565
/**
6666
* constructor.
6767
*/
@@ -100,8 +100,8 @@ public function validate()
100100
* @throws RosetteException
101101
*/
102102

103-
public function loadCustomHeaders($headers)
103+
/*public function loadCustomHeaders($headers)
104104
{
105105
$this->customHeaders = $headers;
106-
}
106+
}*/
107107
}

0 commit comments

Comments
 (0)