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 67513dc commit 180776dCopy full SHA for 180776d
src/Server/Tool.php
@@ -29,6 +29,7 @@ public function annotations(): array
29
// @phpstan-ignore-next-line
30
return collect($reflection->getAttributes())
31
->map(fn (ReflectionAttribute $attributeReflection): object => $attributeReflection->newInstance())
32
+ ->filter(fn (object $attribute): bool => $attribute instanceof Annotation)
33
34
->mapWithKeys(fn (Annotation $attribute): array => [$attribute->key() => $attribute->value])
35
->all();
0 commit comments