Skip to content

Commit

Permalink
fix: change incorrect method call
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuftaufiq committed May 29, 2022
1 parent 867be8b commit ef11dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parsers/AutoloadFileParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function getDefaultAutoloadLibraries(): array
$mapper = new LibraryNameMapper();

return array_map(fn (string $library): PropertyStructuralElement => (
new PropertyStructuralElement($library, $mapper->concreteFileNameOf($library))
new PropertyStructuralElement($library, $mapper->concreteClassOf($library))
), $this->defaultAutoloadLibraries);
}

Expand Down

0 comments on commit ef11dbe

Please sign in to comment.