From a48ecbcb1445c26ca96dca9d7063d1522548b15f Mon Sep 17 00:00:00 2001 From: Sean Fisher <srtfisher@gmail.com> Date: Fri, 20 Sep 2024 16:22:06 -0400 Subject: [PATCH] Docblock fix --- src/mantle/cache/class-wordpress-cache-repository.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mantle/cache/class-wordpress-cache-repository.php b/src/mantle/cache/class-wordpress-cache-repository.php index 07c465111..1fcadb910 100644 --- a/src/mantle/cache/class-wordpress-cache-repository.php +++ b/src/mantle/cache/class-wordpress-cache-repository.php @@ -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