Skip to content

Commit 5f559d9

Browse files
committed
wip
1 parent 1ff1d12 commit 5f559d9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/src/TestClasses/GenerateUserFeed.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ class GenerateUserFeed extends Algo
1616

1717
public function handle(): Result
1818
{
19-
$hash = cache()->set(
20-
$this->generateUniqueId(),
21-
['ids' => (array) $this->getCollection()],
22-
now()->addMinutes(10),
19+
$hash = $this->generateUniqueId();
20+
21+
cache()->set(
22+
key: $hash,
23+
value: ['ids' => (array) $this->getCollection()],
24+
ttl: now()->addMinutes(10),
2325
);
2426

2527
return $this

0 commit comments

Comments
 (0)