diff --git a/app/app/src/Github/Client.php b/app/app/src/Github/Client.php index 782e944..0f01249 100644 --- a/app/app/src/Github/Client.php +++ b/app/app/src/Github/Client.php @@ -67,11 +67,6 @@ private function getCacheKey(string $repository, string $prefix): string public function clearCache(string $repository): void { - $refl = new \ReflectionClass($this); - foreach ($refl->getMethods() as $method) { - if ($method->isPublic()) { - $this->cache->delete($this->getCacheKey($repository, $method->getName())); - } - } + $this->cache->clear(); } }