From fc766ec0c7d2dc6928deb00c937f444a456ec72a Mon Sep 17 00:00:00 2001 From: robo220 Date: Tue, 29 Aug 2017 14:13:00 +0100 Subject: [PATCH] hash is not being generated correctly (#10) --- src/Cache/HashTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache/HashTrait.php b/src/Cache/HashTrait.php index aa6f4a6..2ea7b6b 100644 --- a/src/Cache/HashTrait.php +++ b/src/Cache/HashTrait.php @@ -21,7 +21,7 @@ public function hash($url, $id, array $headers) $headerString = ""; foreach ($headers as $key => $value) { if ($key != Headers::HEADER_XFF) { - $headerString = $key.$value; + $headerString .= $key.$value; } }