[Mime] Removed unnecessary strtolower

This commit is contained in:
Patrick Landolt 2019-03-25 12:20:53 +01:00 committed by GitHub
parent 47a2f58421
commit 94198876d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }