42
42
import fr .adrienbrault .idea .symfony2plugin .extension .TwigNamespaceExtension ;
43
43
import fr .adrienbrault .idea .symfony2plugin .extension .TwigNamespaceExtensionParameter ;
44
44
import fr .adrienbrault .idea .symfony2plugin .stubs .SymfonyProcessors ;
45
+ import fr .adrienbrault .idea .symfony2plugin .stubs .cache .FileIndexCaches ;
45
46
import fr .adrienbrault .idea .symfony2plugin .stubs .dict .TemplateUsage ;
46
47
import fr .adrienbrault .idea .symfony2plugin .stubs .indexes .*;
47
48
import fr .adrienbrault .idea .symfony2plugin .templating .TemplateLookupElement ;
@@ -2832,7 +2833,7 @@ public static List<String> getIncludeTemplateUsageAsOrderedList(@NotNull Project
2832
2833
.limit (100 )
2833
2834
.collect (Collectors .toList ());
2834
2835
2835
- return CachedValueProvider .Result .create (collect , TimeSecondModificationTracker . TIMED_MODIFICATION_TRACKER_60 );
2836
+ return CachedValueProvider .Result .create (collect , FileIndexCaches . getModificationTrackerForIndexId ( project , TwigIncludeStubIndex . KEY ) );
2836
2837
}, false );
2837
2838
}
2838
2839
@@ -2861,7 +2862,7 @@ public static List<String> getEmbedTemplateUsageAsOrderedList(@NotNull Project p
2861
2862
.limit (100 )
2862
2863
.collect (Collectors .toList ());
2863
2864
2864
- return CachedValueProvider .Result .create (collect , TimeSecondModificationTracker . TIMED_MODIFICATION_TRACKER_60 );
2865
+ return CachedValueProvider .Result .create (collect , FileIndexCaches . getModificationTrackerForIndexId ( project , TwigIncludeStubIndex . KEY ) );
2865
2866
}, false );
2866
2867
}
2867
2868
@@ -2885,7 +2886,7 @@ public static List<String> getExtendsTemplateUsageAsOrderedList(@NotNull Project
2885
2886
.limit (100 )
2886
2887
.collect (Collectors .toList ());
2887
2888
2888
- return CachedValueProvider .Result .create (collect , TimeSecondModificationTracker . TIMED_MODIFICATION_TRACKER_60 );
2889
+ return CachedValueProvider .Result .create (collect , FileIndexCaches . getModificationTrackerForIndexId ( project , TwigExtendsStubIndex . KEY ) );
2889
2890
}, false );
2890
2891
}
2891
2892
0 commit comments