Skip to content

Commit

Permalink
Fixes swiftlint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DeluxeAlonso committed Nov 1, 2023
1 parent 67a1a30 commit 4bf0eac
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

}

0 comments on commit 4bf0eac

Please sign in to comment.