From c224c09d5dacbbbe284829cbe922cac19db4d20b Mon Sep 17 00:00:00 2001 From: Shay Anderson Date: Thu, 20 Jun 2019 17:12:23 -0400 Subject: [PATCH] fix Request header() return type --- app/vendor/Eco/System/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vendor/Eco/System/Request.php b/app/vendor/Eco/System/Request.php index 74e45f2..500af3f 100644 --- a/app/vendor/Eco/System/Request.php +++ b/app/vendor/Eco/System/Request.php @@ -70,7 +70,7 @@ public function getHas($key) public function header($name, $auto_trim = true) { return isset($this->headers()[$name]) - ? ( $auto_trim ? trim($this->headers()[$name]) : $this->headers()[$name] ) : null; + ? ( $auto_trim ? trim($this->headers()[$name]) : $this->headers()[$name] ) : ''; } /**