Skip to content

Commit

Permalink
minor update to pull request
Browse files Browse the repository at this point in the history
no case insensitive compare needed, no compare with true or false needed
  • Loading branch information
evermeer committed Aug 29, 2016
1 parent b8bf070 commit 156a6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EVReflection/pod/EVReflection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ final public class EVReflection {
}
}

if (value is NSArray) == false && (typeInObject ?? "").lowercaseString.containsString("array") == true {
if !(value is NSArray) && (typeInObject ?? "").containsString("Array") {
value = NSArray(array: [value])
}

Expand Down

0 comments on commit 156a6f4

Please sign in to comment.