Skip to content

Commit 24ae2cb

Browse files
FraGoTeAngelFQC
authored andcommitted
Fixing PHP-CS
1 parent 254df7f commit 24ae2cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

plugin/text2speech/src/IProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
interface IProvider
44
{
55
public function __construct(string $url, string $key, string $filePath);
6+
67
public function convert(string $text): string;
78
}

plugin/text2speech/src/mozillatts/MozillaTTS.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ public function convert(string $text): string
2222

2323
private function request(string $data): string
2424
{
25-
$filename = uniqid().'.wav';
25+
$filename = uniqid().'.wav';
2626
$filePath = $this->filePath.$filename;
2727
file_put_contents($filePath, file_get_contents(
2828
$this->url.'?api_key='.urlencode($this->apiKey).
29-
'&text='.str_replace('%0A','+',urlencode($data))
29+
'&text='.str_replace('%0A','+', urlencode($data))
3030
));
3131

3232
return $filename;

0 commit comments

Comments
 (0)