Skip to content

Commit

Permalink
fix: update className assignment in FileParser
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Dec 31, 2024
1 parent 3c6509f commit df63ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Flame/Pagic/Parsers/FileParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function process(): array

if (!$hasCache && filemtime($path) >= $this->object->mTime) {
if ($className = $this->extractClassFromFile($path)) {
$cacheItem['className'] = $className;
$result['className'] = $cacheItem['className'] = $className;
$this->fileCache->storeCached($filePath, $cacheItem);

return $result;
Expand Down

0 comments on commit df63ac1

Please sign in to comment.