Skip to content

Commit bc3d5c6

Browse files
committed
Fix linter
1 parent e9c1162 commit bc3d5c6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Endpoints/Delegates/HandlesSettings.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ public function resetTypoTolerance(): array
276276
return $this->http->delete(self::PATH.'/'.$this->uid.'/settings/typo-tolerance');
277277
}
278278

279-
280279
// Settings - Word dictionary
281280

282281
/**
@@ -289,16 +288,12 @@ public function getWordDictionary(): array
289288

290289
/**
291290
* @param list<non-empty-string> $wordDictionary
292-
* @return array
293291
*/
294292
public function updateWordDictionary(array $wordDictionary): array
295293
{
296294
return $this->http->put(self::PATH.'/'.$this->uid.'/settings/dictionary', $wordDictionary);
297295
}
298296

299-
/**
300-
* @return array
301-
*/
302297
public function resetWordDictionary(): array
303298
{
304299
return $this->http->delete(self::PATH.'/'.$this->uid.'/settings/dictionary');

tests/Settings/WordDictionaryTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function testUpdateWordDictionary(): void
3030
{
3131
$newWordDictionary = [
3232
'J. K.',
33-
'J. R. R.'
33+
'J. R. R.',
3434
];
3535

3636
$promise = $this->index->updateWordDictionary($newWordDictionary);
@@ -46,7 +46,6 @@ public function testResetWordDictionary(): void
4646
{
4747
$promise = $this->index->resetWordDictionary();
4848

49-
5049
$this->index->waitForTask($promise['taskUid']);
5150
$wordDictionary = $this->index->getWordDictionary();
5251

0 commit comments

Comments
 (0)