Skip to content

Commit

Permalink
Make comment clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni committed Jun 7, 2021
1 parent 18ed367 commit b429123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArticleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b429123

Please sign in to comment.