Skip to content

Commit c4a279f

Browse files
author
NicoBrabers
committed
Fix for issue #54500: Added different method formatting (added new lines) based on pull-request feedback.
1 parent 33c9cf4 commit c4a279f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Http/Http.Abstractions/src/Extensions/UseMiddlewareExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,14 @@ private static bool TryGetServiceKey(ParameterInfo parameterInfo, out object? ke
238238
if (attribute is FromKeyedServicesAttribute keyed)
239239
{
240240
key = keyed.Key;
241+
241242
return true;
242243
}
243244
}
244245
}
246+
245247
key = null;
248+
246249
return false;
247250
}
248251

src/Http/Http.Abstractions/test/UsePathBaseExtensionsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ private class DummyServiceProvider : IServiceProvider
257257
{
258258
return value;
259259
}
260+
260261
return null;
261262
}
262263
}

0 commit comments

Comments
 (0)