Conditions | 5 |
Paths | 5 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
53 | protected function buildUserData(&$queries): void |
||
54 | { |
||
55 | if (0 !== count($this->userData)) { |
||
56 | foreach ($this->userData as $key => $value) { |
||
57 | if (!is_bool($value)) { |
||
58 | $queries['userdata-' . $key] = $value; |
||
59 | } else { |
||
60 | $queries['userdata-' . $key] = $value ? 'true' : 'false'; |
||
61 | } |
||
66 |