Swift: Update uses of deprecated ArrayContent.

This commit is contained in:
Geoffrey White
2023-09-18 10:28:45 +01:00
parent d15420c42c
commit 86b0fae77e

View File

@@ -27,9 +27,9 @@ module CleartextLoggingConfig implements DataFlow::ConfigSig {
}
predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) {
// flow out from array content at the sink.
// flow out from collection content at the sink.
isSink(node) and
c.getAReadContent() instanceof DataFlow::Content::ArrayContent
c.getAReadContent() instanceof DataFlow::Content::CollectionContent
}
}