@@ -198,8 +198,8 @@ discard block |
||
| 198 | 198 | } |
| 199 | 199 | $checkfilestart($file, count($sentences)); |
| 200 | 200 | $sentences = $this->checkSentences( |
| 201 | - $sentences, |
|
| 202 | - $checksentence |
|
| 201 | + $sentences, |
|
| 202 | + $checksentence |
|
| 203 | 203 | ); |
| 204 | 204 | $htmlcode = $this->convertToHtml($file->getFilename(), $sentences); |
| 205 | 205 | |
@@ -246,8 +246,8 @@ discard block |
||
| 246 | 246 | $sentences = $html->getSentences(); |
| 247 | 247 | $checkfilestart($file, count($sentences)); |
| 248 | 248 | $sentences = $this->checkSentences( |
| 249 | - $sentences, |
|
| 250 | - $checksentence |
|
| 249 | + $sentences, |
|
| 250 | + $checksentence |
|
| 251 | 251 | ); |
| 252 | 252 | $htmlcode = $this->convertToHtml($title, $sentences); |
| 253 | 253 | |
@@ -277,13 +277,13 @@ discard block |
||
| 277 | 277 | $sentencesChecked = []; |
| 278 | 278 | foreach ($sentences as $sentence) { |
| 279 | 279 | $response = $this->languagetoolClientHttp->get( |
| 280 | - $url, |
|
| 281 | - [ |
|
| 282 | - 'query' => [ |
|
| 283 | - 'language' => $this->languageToolLanguage, |
|
| 284 | - 'text' => $sentence |
|
| 285 | - ] |
|
| 286 | - ] |
|
| 280 | + $url, |
|
| 281 | + [ |
|
| 282 | + 'query' => [ |
|
| 283 | + 'language' => $this->languageToolLanguage, |
|
| 284 | + 'text' => $sentence |
|
| 285 | + ] |
|
| 286 | + ] |
|
| 287 | 287 | ); |
| 288 | 288 | $xml = $response->getBody()->getContents(); |
| 289 | 289 | $glxml = new GlHtml($xml); |