Skip to content

Commit

Permalink
Docblock fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Sep 20, 2024
1 parent 6c68a83 commit a48ecbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mantle/cache/class-wordpress-cache-repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ public function pull( string $key, mixed $default = null ): mixed {
/**
* Set a cache item.
*
* @param string $key Cache key.
* @param mixed $value Item value.
* @param null|int|\DateInterval $ttl TTL.
* @param string $key Cache key.
* @param mixed $value Item value.
* @param null|int|\DateInterval|\DateTimeInterface $ttl TTL.
*/
public function set( string $key, mixed $value, int|\DateInterval|\DateTimeInterface|null $ttl = null ): bool {
return \wp_cache_set( $key, $value, $this->prefix, $this->normalize_ttl( $ttl ) ); // phpcs:ignore WordPressVIPMinimum.Performance.LowExpiryCacheTime.CacheTimeUndetermined
Expand Down

0 comments on commit a48ecbc

Please sign in to comment.