Pod/Classes/Kraken.swift
Function resolve
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static func resolve(_ typeToInject: Any, tag: DependencyTagConvertible? = nil) throws -> Injectable? {
depth = depth + 1
defer {
depth = depth - 1
Function register
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static func register(_ interface: Any, tag: DependencyTagConvertible? = nil, implementationType: Injectable.Type, scope: DependencyScope = .prototype, completionHandler: ((_ resolvedInstance: Injectable) -> ())? = nil) {