[Mime] Removed unnecessary strtolower
This commit is contained in:
parent
47a2f58421
commit
94198876d0
@ -168,7 +168,7 @@ final class Headers
|
|||||||
public function get(string $name): ?HeaderInterface
|
public function get(string $name): ?HeaderInterface
|
||||||
{
|
{
|
||||||
$name = strtolower($name);
|
$name = strtolower($name);
|
||||||
if (!isset($this->headers[strtolower($name)])) {
|
if (!isset($this->headers[$name])) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user