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 bf14f85 commit b35dbeaCopy full SHA for b35dbea
src/Service/PrototypeServiceDefinitionChecker.php
@@ -12,7 +12,7 @@ final class PrototypeServiceDefinitionChecker implements ServiceDefinitionChecke
12
13
public function isPrototype(ServiceDefinition $serviceDefinition, Node $node): bool
14
{
15
- return !$serviceDefinition->isHasTags() && !$serviceDefinition->isHasMethodCalls() && !$serviceDefinition->isHasConstructorArguments() && !$this->canBePrototypeClass($node);
+ return !$serviceDefinition->isHasTags() && !$serviceDefinition->isHasMethodCalls() && $this->canBePrototypeClass($node);
16
}
17
18
private function extractFirstArgument(StaticCall $node): ?Node
0 commit comments