Skip to content

Commit 3a343d7

Browse files
committed
Calling removeCache()
1 parent 035e6de commit 3a343d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public function addHeaders(array $headers)
379379
*/
380380
public function addCache(CacheItemPoolInterface $cachePool)
381381
{
382-
$this->removePlugin(Plugin\CachePlugin::class);
382+
$this->removeCache();
383383
$this->addPlugin(new Plugin\CachePlugin($cachePool));
384384
}
385385

0 commit comments

Comments
 (0)