| Conditions | 9 |
| Paths | 9 |
| Total Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 66 | protected function normalize($value) |
||
| 67 | { |
||
| 68 | switch (strtolower($value)) { |
||
| 69 | case 'true': |
||
| 70 | case '(true)': |
||
| 71 | return true; |
||
| 72 | |||
| 73 | case 'false': |
||
| 74 | case '(false)': |
||
| 75 | return false; |
||
| 76 | |||
| 77 | case 'null': |
||
| 78 | case '(null)': |
||
| 79 | return null; |
||
| 80 | |||
| 81 | case 'empty': |
||
| 82 | case '(empty)': |
||
| 83 | return ''; |
||
| 84 | } |
||
| 85 | |||
| 86 | return $value; |
||
| 87 | } |
||
| 88 | } |