From 35e0b25fc56b2a85f58ae3deae2e22a60abcd796 Mon Sep 17 00:00:00 2001 From: Clay Ellis Date: Tue, 26 Jul 2016 11:53:08 -0600 Subject: [PATCH] Updated naming to be more specific --- Sources/Unbox.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Unbox.swift b/Sources/Unbox.swift index 05752e7..3a5fb11 100644 --- a/Sources/Unbox.swift +++ b/Sources/Unbox.swift @@ -482,8 +482,8 @@ public class Unboxer { /// Unbox a required Array containing values of a raw type public func unbox(key: String, isKeyPath: Bool = true) -> [T] { - if let rawValue = UnboxValueResolver<[T]>(self).resolveOptionalValueForKey(key, isKeyPath: isKeyPath) { - return rawValue + if let rawValueArray = UnboxValueResolver<[T]>(self).resolveOptionalValueForKey(key, isKeyPath: isKeyPath) { + return rawValueArray } let transformedStringArray = UnboxValueResolver<[String]>(self).resolveOptionalValueForKey(key, isKeyPath: isKeyPath, transform: { stringArray -> [T]? in