| Conditions | 4 |
| Paths | 5 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public static function boolToString(array $elements) |
||
| 23 | { |
||
| 24 | foreach ($elements as $key => $element) { |
||
| 25 | if (is_array($element)) { |
||
| 26 | $elements[$key] = self::boolToString($element); |
||
| 27 | } |
||
| 28 | |||
| 29 | if (is_bool($element)) { |
||
| 30 | $elements[$key] = self::varToString($element); |
||
| 31 | } |
||
| 32 | } |
||
| 33 | |||
| 34 | return $elements; |
||
| 35 | } |
||
| 36 | |||
| 60 |