| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | 1 | protected function recurseString(array $string) |
|
| 45 | { |
||
| 46 | 1 | $isOptional = $this->isOptional; |
|
| 47 | 1 | foreach ($string as $k => $element) |
|
| 48 | { |
||
| 49 | 1 | if (is_array($element)) |
|
| 50 | { |
||
| 51 | 1 | $string[$k] = $this->runner->run($element); |
|
| 52 | } |
||
| 53 | } |
||
| 54 | 1 | $this->isOptional = $isOptional; |
|
| 55 | |||
| 56 | 1 | return $string; |
|
| 57 | } |
||
| 58 | } |