Skip to content

Commit b35dbea

Browse files
committed
[TASK] Remove check for arguments
1 parent bf14f85 commit b35dbea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/PrototypeServiceDefinitionChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ final class PrototypeServiceDefinitionChecker implements ServiceDefinitionChecke
1212

1313
public function isPrototype(ServiceDefinition $serviceDefinition, Node $node): bool
1414
{
15-
return !$serviceDefinition->isHasTags() && !$serviceDefinition->isHasMethodCalls() && !$serviceDefinition->isHasConstructorArguments() && !$this->canBePrototypeClass($node);
15+
return !$serviceDefinition->isHasTags() && !$serviceDefinition->isHasMethodCalls() && $this->canBePrototypeClass($node);
1616
}
1717

1818
private function extractFirstArgument(StaticCall $node): ?Node

0 commit comments

Comments
 (0)