From 18dc6e56374e561ceaacff9dae1d3ce8b4e22609 Mon Sep 17 00:00:00 2001 From: Dan Federman Date: Fri, 19 Jan 2024 12:19:46 -0800 Subject: [PATCH] we might not need the return after all --- Sources/SafeDICore/Models/Scope.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/SafeDICore/Models/Scope.swift b/Sources/SafeDICore/Models/Scope.swift index a77bac0a..a23b1555 100644 --- a/Sources/SafeDICore/Models/Scope.swift +++ b/Sources/SafeDICore/Models/Scope.swift @@ -75,12 +75,12 @@ final class Scope: Hashable { .compactMap { switch $0.source { case .received: - return $0.property + $0.property case let .aliased(fulfillingProperty): - return fulfillingProperty + fulfillingProperty case .forwarded, .instantiated: - return nil + nil } } }