diff --git a/src/MemoizedClientRepository.php b/src/MemoizedClientRepository.php index f54b93f..a656916 100644 --- a/src/MemoizedClientRepository.php +++ b/src/MemoizedClientRepository.php @@ -56,4 +56,11 @@ public function clearInternalCache(): void { $this->cache = []; } + + public function personalAccessClient(): Client + { + $client = parent::personalAccessClient(); + $this->cache[$client->id] = $client; + return $client; + } }