From c112b225dc3f1fee2110b958f75d06e1a1ee4861 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Fri, 14 Feb 2025 23:33:39 +0500 Subject: [PATCH] Update byTag method to specify void return type Added an explicit void return type to the byTag method for clarity and strict type enforcement. --- app/application/app/Services/ClearCacheCommandHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/application/app/Services/ClearCacheCommandHandler.php b/app/application/app/Services/ClearCacheCommandHandler.php index 73c9ff9..2d00ded 100644 --- a/app/application/app/Services/ClearCacheCommandHandler.php +++ b/app/application/app/Services/ClearCacheCommandHandler.php @@ -6,7 +6,7 @@ use App\Enums\CacheTag; final readonly class ClearCacheCommandHandler { - public function byTag(CacheTag $tag) + public function byTag(CacheTag $tag): void { $tag->getCache()->flush(); }