also looking at this
meemalabs/laravel-text-to-speech
Support laravel 9
#32
17 files
+83
-61
| @@ -12,7 +12,7 @@ class WebsiteSource implements SourceContract | ||
| 12 | 12 | /** |
| 13 | 13 | * Handles in getting the text from source. |
| 14 | 14 | * |
| 15 | * @param string $data | |
| 15 | * @param string $data | |
| 16 | 16 | * @return string |
| 17 | 17 | */ |
| 18 | 18 | public function handle(string $data): string |
| @@ -45,7 +45,7 @@ class WebsiteSource implements SourceContract | ||
| 45 | 45 | /** |
| 46 | 46 | * Get text from the articles DOM Node List. |
| 47 | 47 | * |
| 48 | * @param DOMNodeList $articles | |
| 48 | * @param DOMNodeList $articles | |
| 49 | 49 | * @return string |
| 50 | 50 | */ |
| 51 | 51 | protected function getTextFromArticle(DOMNodeList $articles): string |