From b4291236dc632d079c3cb9b716e73056778eeffc Mon Sep 17 00:00:00 2001 From: Michael Aerni Date: Mon, 7 Jun 2021 13:27:13 +0200 Subject: [PATCH] Make comment clearer --- src/ArticleRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArticleRepository.php b/src/ArticleRepository.php index 37a9ed4..803565a 100644 --- a/src/ArticleRepository.php +++ b/src/ArticleRepository.php @@ -41,7 +41,7 @@ public function state(Entry $entry): string return Api::article($id)->data->state; }); - // Save the temp key to the regular key if the state if 'LIVE'. + // Persist the temp value to the article state if the state is 'LIVE'. if ($state === 'LIVE') { Cache::put("apple_news_{$id}_state", $state); }