Skip to content

Commit b190f11

Browse files
committed
renamed getCacheKey() -> generateCacheKey() (BC break)
1 parent c36d4ee commit b190f11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RobotLoader/RobotLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,11 @@ private function generateCacheFileName(): string
513513
throw new \LogicException('Set path to temporary directory using setTempDirectory().');
514514
}
515515

516-
return $this->tempDirectory . '/' . md5(serialize($this->getCacheKey())) . '.php';
516+
return $this->tempDirectory . '/' . md5(serialize($this->generateCacheKey())) . '.php';
517517
}
518518

519519

520-
protected function getCacheKey(): array
520+
protected function generateCacheKey(): array
521521
{
522522
return [$this->ignoreDirs, $this->acceptFiles, $this->scanPaths, $this->excludeDirs, 'v2'];
523523
}

0 commit comments

Comments
 (0)