| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class SpellingService |
||
| 9 | { |
||
| 10 | // TODO: Dependency injection |
||
| 11 | /** @var Aspell */ |
||
| 12 | private $aspell; |
||
| 13 | |||
| 14 | public function __construct() |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Returns simple array of potentially-misspelled words, nothing more for now. |
||
| 21 | * @param string $input |
||
| 22 | * @return string[] |
||
| 23 | */ |
||
| 24 | public function checkString(string $input) : array |
||
| 33 | } |
||
| 34 | } |