Skip to content

Commit e57d996

Browse files
committed
refactor: remove unused method
The protected method is never called by caller.
1 parent 5b0b992 commit e57d996

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

system/Autoloader/FileLocatorCached.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,6 @@ public function deleteCache(): void
9090
$this->cacheHandler->delete($this->cacheKey);
9191
}
9292

93-
protected function getNamespaces()
94-
{
95-
if (isset($this->cache['getNamespaces'])) {
96-
return $this->cache['getNamespaces'];
97-
}
98-
99-
$namespaces = $this->locator->getNamespaces();
100-
101-
$this->cache['getNamespaces'] = $namespaces;
102-
$this->cacheUpdated = true;
103-
104-
return $namespaces;
105-
}
106-
10793
public function findQualifiedNameFromPath(string $path): false|string
10894
{
10995
if (isset($this->cache['findQualifiedNameFromPath'][$path])) {

0 commit comments

Comments
 (0)