改名
This commit is contained in:
@@ -109,7 +109,10 @@ class HttpHeaders
|
||||
*/
|
||||
public function getHeader($name)
|
||||
{
|
||||
return $this->headers[$name] ?? null;
|
||||
if (!isset($this->headers[$name])) {
|
||||
return null;
|
||||
}
|
||||
return $this->headers[$name];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user