Skip to content

Commit

Permalink
Update RemembersQueries.php (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelej authored Dec 11, 2024
1 parent f8dc146 commit d1a5bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Livewire/Concerns/RemembersQueries.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ trait RemembersQueries
*
* @return array{0: mixed, 1: float, 2: string}
*/
public function remember(callable $query, string $key = '', DateTimeInterface|DateInterval|Closure|int|null $ttl = 5): array
protected function remember(callable $query, string $key = '', DateTimeInterface|DateInterval|Closure|int|null $ttl = 5): array
{
return App::make(CacheStoreResolver::class)->store()->remember('laravel:pulse:'.static::class.':'.$key.':'.$this->period, $ttl, function () use ($query) {
$start = CarbonImmutable::now('UTC')->toDateTimeString();
Expand Down

0 comments on commit d1a5bf2

Please sign in to comment.