From c37663f1c19ba725ae99586ff43852046634ff39 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 1 Oct 2019 19:02:26 +0000 Subject: [PATCH] Changed return value --- src/Network/CurlResult.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/CurlResult.php b/src/Network/CurlResult.php index b9ab07be9f..1c43db17d4 100644 --- a/src/Network/CurlResult.php +++ b/src/Network/CurlResult.php @@ -228,7 +228,7 @@ class CurlResult * * @param string $field optional header field. Return all fields if empty * - * @return string|bool the Curl headers, "false" when field isn't found + * @return string the Curl headers or the specified content of the header variable */ public function getHeader(string $field = '') { @@ -245,7 +245,7 @@ class CurlResult } } - return false; + return ''; } /** -- 2.39.5