From 2980c2025268969cf5d7c13f58ded8f2b3cbeedd Mon Sep 17 00:00:00 2001 From: Mynyx Date: Wed, 8 Apr 2020 12:57:53 +0200 Subject: [PATCH 1/2] Amend comments in Psr6Store.php --- src/Psr6Store.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Psr6Store.php b/src/Psr6Store.php index 456d496..78edba0 100644 --- a/src/Psr6Store.php +++ b/src/Psr6Store.php @@ -198,7 +198,8 @@ public function lookup(Request $request) } /** - * Writes a cache entry to the store for the given Request and Response. + * Writes a content digest cache item and a request meta cache item to the store for + * the given Request and Response. * * Existing entries are read and any that match the response are removed. This * method calls write with the new list of cache entries. @@ -510,7 +511,7 @@ private function isBinaryFileResponseContentDigest($digest) } /** - * Increases a counter every time an item is stored to the cache and then + * Increases a counter every time a write action is performed and then * prunes expired cache entries if a configurable threshold is reached. * This only happens during write operations so cache retrieval is not * slowed down. From 3f4395b86b5464275e7aa20b805479b2335907d4 Mon Sep 17 00:00:00 2001 From: Mynyx Date: Wed, 8 Apr 2020 13:07:39 +0200 Subject: [PATCH 2/2] Update Psr6Store.php --- src/Psr6Store.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Psr6Store.php b/src/Psr6Store.php index 78edba0..c2cd453 100644 --- a/src/Psr6Store.php +++ b/src/Psr6Store.php @@ -198,8 +198,7 @@ public function lookup(Request $request) } /** - * Writes a content digest cache item and a request meta cache item to the store for - * the given Request and Response. + * Writes a cache entry to the store for the given Request and Response. * * Existing entries are read and any that match the response are removed. This * method calls write with the new list of cache entries.