Skip to content

Commit

Permalink
Php Inspections (EA Ultimate): partial revert
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir.reznichenko committed Jun 28, 2018
1 parent 5e622b2 commit 656ce40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/ServerRequest.php
Expand Up @@ -1107,7 +1107,8 @@ public function getHeaders()
$name = $key;
}
if ($name !== null) {
$name = ucwords(strtolower(str_replace(['_', ' '], [' ', '-'], $name)));
$name = str_replace('_', ' ', strtolower($name));
$name = str_replace(' ', '-', ucwords($name));
$headers[$name] = (array)$value;
}
}
Expand Down

0 comments on commit 656ce40

Please sign in to comment.