We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdd2eb0 commit 7527e37Copy full SHA for 7527e37
src/Builders/Components/Builder.php
@@ -43,7 +43,7 @@ protected function getAllClasses(string $collection): Collection
43
44
return
45
($collectionAnnotation && $collectionAnnotation->name === ['*']) ||
46
- (! $collectionAnnotation && $collection === Generator::COLLECTION_DEFAULT) ||
+ (! $collectionAnnotation) ||
47
($collectionAnnotation && in_array($collection, $collectionAnnotation->name ?? [], true));
48
})
49
->map(static function (ReflectionClass $reflectionClass) {
0 commit comments