Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | class PromoteSingleStrings extends AbstractPass |
||
15 | { |
||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | */ |
||
19 | 4 | protected function runPass(array $strings): array |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * Promote single strings found inside given string |
||
26 | * |
||
27 | * @param array $string Original string |
||
28 | * @return array Modified string |
||
29 | */ |
||
30 | 3 | protected function promoteSingleStrings(array $string): array |
|
46 | } |
||
47 | } |