Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 12 | public static function unpublishable(string $locale): self |
|
26 | { |
||
27 | 12 | return new static( |
|
28 | 12 | "You can't publish the translations because the [$locale] folder is not empty. ". |
|
29 | 12 | "To override the translations, try to clean/delete the [$locale] folder or force the publication." |
|
30 | ); |
||
31 | } |
||
32 | } |
||
33 |