Skip to content

Commit c1c70e6

Browse files
authored
Add throws docblock (#15)
1 parent a269b12 commit c1c70e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ClassMapGenerator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ public function scanPaths($path, ?string $excluded = null, string $autoloadType
207207
* @param 'psr-0'|'psr-4' $namespaceType
208208
* @param string $basePath root directory of given autoload mapping
209209
* @return array<int, class-string> valid classes
210+
*
211+
* @throws \InvalidArgumentException When namespaceType is neither psr-0 nor psr-4
210212
*/
211213
private function filterByNamespace(array $classes, string $filePath, string $baseNamespace, string $namespaceType, string $basePath): array
212214
{

0 commit comments

Comments
 (0)