$this->headers[$header] = $value;
}
- function set_headers(&$headers) {
+ function set_headers($headers) {
foreach($headers as $header => $value) {
$this->set_header($header, $value);
}
}
/**
- * Adds parantheses to the inner parts of ternary operators in
+ * Adds parentheses to the inner parts of ternary operators in
* plural expressions, because PHP evaluates ternary oerators from left to right
*
* @param string $expression the expression without parentheses
function set_header($header, $value) {
}
- function set_headers(&$headers) {
+ function set_headers($headers) {
}
function get_header($header) {