Use 'var' instead of explicit type

(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)
This commit is contained in:
Bogdan
2023-05-23 13:52:39 +03:00
parent 0509335387
commit 360827708f
61 changed files with 128 additions and 128 deletions
@@ -54,7 +54,7 @@ namespace NzbDrone.Core.IndexerStats
var sortedEvents = indexer.OrderBy(v => v.Date)
.ThenBy(v => v.Id)
.ToArray();
int temp = 0;
var temp = 0;
var elapsedTimeEvents = sortedEvents.Where(h => int.TryParse(h.Data.GetValueOrDefault("elapsedTime"), out temp))
.Select(h => temp);