| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public static function headers($array) |
||
| 28 | { |
||
| 29 | $array = self::filterArrayKeys($array, self::$identityHeaders); |
||
| 30 | ksort($array); |
||
| 31 | $string = ''; |
||
| 32 | foreach ($array as $key => $value) { |
||
| 33 | $key = self::normalizeKey($key); |
||
| 34 | $string .= "$key:$value;"; |
||
| 35 | } |
||
| 36 | return self::hash($string); |
||
| 37 | } |
||
| 38 | |||
| 70 |