From 4bf0eac35450757f58754420b6a49e63b5ce5731 Mon Sep 17 00:00:00 2001 From: DeluxeAlonso Date: Tue, 31 Oct 2023 23:44:48 -0500 Subject: [PATCH] Fixes swiftlint warning --- .../Core/DataSources/RemoteDataSource.swift | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/NetworkInfrastructure/NetworkInfrastructure/Core/DataSources/RemoteDataSource.swift b/NetworkInfrastructure/NetworkInfrastructure/Core/DataSources/RemoteDataSource.swift index b530b363..4bdad0c1 100644 --- a/NetworkInfrastructure/NetworkInfrastructure/Core/DataSources/RemoteDataSource.swift +++ b/NetworkInfrastructure/NetworkInfrastructure/Core/DataSources/RemoteDataSource.swift @@ -17,25 +17,23 @@ final public class RemoteDataSource: RemoteDataSourceProtocol { } public func movieDataSource() -> MovieRemoteDataSourceProtocol { - return MovieRemoteDataSource(client: MovieClient()) + MovieRemoteDataSource(client: MovieClient()) } public func genreDataSource() -> GenreRemoteDataSourceProtocol { - let client = GenreClient() - return GenreRemoteDataSource(client: GenreClient()) + GenreRemoteDataSource(client: GenreClient()) } public func accountDataSource() -> AccountRemoteDataSourceProtocol { - let client = AccountClient() - return AccountRemoteDataSource(client: AccountClient()) + AccountRemoteDataSource(client: AccountClient()) } public func authDataSource() -> AuthRemoteDataSourceProtocol { - return AuthRemoteDataSource(authClient: AuthClient(), accountClient: AccountClient()) + AuthRemoteDataSource(authClient: AuthClient(), accountClient: AccountClient()) } public func configurationDataSource() -> ConfigurationRemoteDataSourceProtocol { - return ConfigurationRemoteDataSource(client: ConfigurationClient()) + ConfigurationRemoteDataSource(client: ConfigurationClient()) } }