Skip to content

Commit

Permalink
fix: handle library with sub directory
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuftaufiq committed Jun 5, 2022
1 parent 9ee47cd commit 5011277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Casters/LibraryNameMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function concreteClassOf(string $name): string
return $this->mapLibraries[$name];
}

return $name;
return $this->fileNameOf($name);
}

public function concreteNameOf(string $name): string
Expand Down

0 comments on commit 5011277

Please sign in to comment.