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.
2 parents b664bf3 + 8900c6f commit 3f85584Copy full SHA for 3f85584
DependencyInjection/GraphqliteCompilerPass.php
@@ -194,7 +194,7 @@ public function process(ContainerBuilder $container)
194
if ($typeAnnotation !== null || $this->getAnnotationReader()->getExtendTypeAnnotation($reflectionClass) !== null) {
195
$definition->setPublic(true);
196
}
197
- foreach ($reflectionClass->getMethods() as $method) {
+ foreach ($reflectionClass->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
198
$factory = $reader->getFactoryAnnotation($method);
199
if ($factory !== null) {
200
0 commit comments