Conditions | 3 |
Paths | 4 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
40 | 6 | private function changeText(string $text): string |
|
41 | { |
||
42 | 6 | $text = $this->prefixCharacterMask === null ? ltrim($text) : ltrim($text, $this->prefixCharacterMask); |
|
43 | 6 | $text = $this->suffixCharacterMask === null ? rtrim($text) : rtrim($text, $this->suffixCharacterMask); |
|
44 | 6 | return $text; |
|
45 | } |
||
47 |