From 1659d30dedc1145fcc567e9b555593288b4f70c5 Mon Sep 17 00:00:00 2001 From: "Alex P." Date: Wed, 6 Nov 2024 09:14:44 +0200 Subject: [PATCH] Add type --- modules/ppcp-api-client/src/Helper/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ppcp-api-client/src/Helper/Cache.php b/modules/ppcp-api-client/src/Helper/Cache.php index c5b79dc5c..3b831ea00 100644 --- a/modules/ppcp-api-client/src/Helper/Cache.php +++ b/modules/ppcp-api-client/src/Helper/Cache.php @@ -58,7 +58,7 @@ class Cache { * * @param string $key The key. */ - public function delete( string $key ) { + public function delete( string $key ): void { delete_transient( $this->prefix . $key ); }