Skip to content

Commit

Permalink
Fix nullability warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslevesque committed Mar 15, 2021
1 parent 514b2b4 commit 5a3de9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FakeItEasy/ReturnValueConfigurationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ internal static void ReturnsNextFromQueue<T>(this IReturnValueConfiguration<T> c
{
configuration.ReturnsLazily(x =>
{
queue.TryDequeue(out T returnValue);
queue.TryDequeue(out T? returnValue);
return returnValue!;
}).NumberOfTimes(queue.Count);
}
Expand Down

0 comments on commit 5a3de9a

Please sign in to comment.