@@ -19,8 +19,7 @@ discard block |
||
| 19 | 19 | { |
| 20 | 20 | if (isset(apache_request_headers()[$name]) && apache_request_headers()[$name] != '') { |
| 21 | 21 | return apache_request_headers()[$name]; |
| 22 | - } |
|
| 23 | - else if ($default !== null) { |
|
| 22 | + } else if ($default !== null) { |
|
| 24 | 23 | return $default; |
| 25 | 24 | } |
| 26 | 25 | } |
@@ -35,8 +34,7 @@ discard block |
||
| 35 | 34 | { |
| 36 | 35 | if ($value !== null) { |
| 37 | 36 | header($name . ': ' . $value); |
| 38 | - } |
|
| 39 | - else { |
|
| 37 | + } else { |
|
| 40 | 38 | header($name); |
| 41 | 39 | } |
| 42 | 40 | |
@@ -50,8 +50,7 @@ |
||
| 50 | 50 | $sKey = preg_replace("/^\\0(.*)\\0/", "", $sKey); |
| 51 | 51 | $aNew[$sKey] = self::object_to_array($mValues); |
| 52 | 52 | } |
| 53 | - } |
|
| 54 | - else { |
|
| 53 | + } else { |
|
| 55 | 54 | |
| 56 | 55 | $aNew = $mObject; |
| 57 | 56 | } |