We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4694a4d commit b9c326fCopy full SHA for b9c326f
src/Cache/WpObjectCacheItem.php
@@ -42,7 +42,7 @@ public function set(mixed $value): static
42
return $this;
43
}
44
45
- public function expiresAt(?\DateTimeInterface $expiration)
+ public function expiresAt(?\DateTimeInterface $expiration): static
46
{
47
if ($expiration instanceof DateTimeInterface) {
48
$this->expires = $expiration->getTimestamp();
0 commit comments