Skip to content

Commit

Permalink
refactor: remove unused method
Browse files Browse the repository at this point in the history
The protected method is never called by caller.
  • Loading branch information
kenjis committed Oct 11, 2023
1 parent 83e448b commit b62808e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions system/Autoloader/FileLocatorCached.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,6 @@ public function deleteCache(): void
$this->cacheHandler->delete($this->cacheKey);
}

protected function getNamespaces()
{
if (isset($this->cache['getNamespaces'])) {
return $this->cache['getNamespaces'];
}

$namespaces = $this->locator->getNamespaces();

$this->cache['getNamespaces'] = $namespaces;
$this->cacheUpdated = true;

return $namespaces;
}

public function findQualifiedNameFromPath(string $path): false|string
{
if (isset($this->cache['findQualifiedNameFromPath'][$path])) {
Expand Down

0 comments on commit b62808e

Please sign in to comment.