Skip to content

Commit d931868

Browse files
committed
Typo in readme
1 parent a90f38a commit d931868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ $your_product_data = [
304304
/* ... */
305305
];
306306

307-
if ($CachedString->isHit()) {
307+
if (!$CachedString->isHit()) {
308308
$CachedString->set($your_product_data)->expiresAfter(5);//in seconds, also accepts Datetime
309309
$InstanceCache->save($CachedString); // Save the cache item just like you do with doctrine and entities
310310

0 commit comments

Comments
 (0)