Skip to content

Commit

Permalink
Add throws docblock (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech authored Nov 25, 2024
1 parent a269b12 commit c1c70e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ClassMapGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ public function scanPaths($path, ?string $excluded = null, string $autoloadType
* @param 'psr-0'|'psr-4' $namespaceType
* @param string $basePath root directory of given autoload mapping
* @return array<int, class-string> valid classes
*
* @throws \InvalidArgumentException When namespaceType is neither psr-0 nor psr-4
*/
private function filterByNamespace(array $classes, string $filePath, string $baseNamespace, string $namespaceType, string $basePath): array
{
Expand Down

0 comments on commit c1c70e6

Please sign in to comment.