Add type/nullable hints

This commit is contained in:
Liza 2024-06-25 21:02:06 +02:00
parent 1224fbe688
commit bab6dc2f75
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -141,7 +141,7 @@ internal sealed class DropboxQueue : IDisposable
{ {
var parsedItems = arguments.Split(' ') var parsedItems = arguments.Split(' ')
.Select(x => x.Split(':')) .Select(x => x.Split(':'))
.Select(x => .Select<string[], (string, NeededItem?)>(x =>
{ {
if (x.Length != 2) if (x.Length != 2)
return ($"Unable to parse {string.Join(" ", x)}.", null); return ($"Unable to parse {string.Join(" ", x)}.", null);