Skip to content

Commit 6330a57

Browse files
committed
fix "Missing argument" in services.yml doesn't keep track of factory methods #492
1 parent 9e99bbc commit 6330a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fr/adrienbrault/idea/symfony2plugin/intentions/yaml/YamlServiceArgumentInspection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
public class YamlServiceArgumentInspection extends LocalInspectionTool {
2525

26-
public static final String[] INVALID_KEYS = new String[]{"parent", "factory-class", "factory-service", "abstract", "abstract"};
26+
private static final String[] INVALID_KEYS = new String[]{"parent", "factory_class", "factory_service", "factory_method", "abstract", "factory"};
2727
private ContainerCollectionResolver.LazyServiceCollector lazyServiceCollector;
2828

2929
@NotNull

0 commit comments

Comments
 (0)