mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-10 13:32:44 +00:00
Fix CS
This commit is contained in:
parent
d66011d0fa
commit
b096005561
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ class CakeRequest implements ArrayAccess {
|
|||
* @return mixed Either false on no header being set or the value of the header.
|
||||
*/
|
||||
public static function header($name) {
|
||||
$httpName = 'HTTP_' . strtoupper(str_replace('-', '_', $name)); ;
|
||||
$httpName = 'HTTP_' . strtoupper(str_replace('-', '_', $name));
|
||||
if (isset($_SERVER[$httpName])) {
|
||||
return $_SERVER[$httpName];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue