Skip to content

Commit 208a728

Browse files
committed
Swift: Fixes.
1 parent 37cdef7 commit 208a728

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

swift/ql/lib/codeql/swift/frameworks/Alamofire/Alamofire.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private class AlamofireResponseType extends NominalTypeDecl {
2626
}
2727

2828
/**
29-
* A remote flow source that is an access to a remote data from an Alamofire response handler.
29+
* A remote flow source that is an access to remote data from an Alamofire response handler.
3030
*/
3131
private class AlamofireResponseSource extends RemoteFlowSource {
3232
AlamofireResponseSource() {

swift/ql/test/library-tests/dataflow/flowsources/alamofire.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ struct MyStreamSerializer: DataStreamSerializer {
332332
struct MyDecodable: Decodable {
333333
}
334334

335-
func doSomething(_ v: Any) {}
335+
func doSomething(_ p: Any) {}
336336

337337
func testAlamofire() {
338338
// requests

0 commit comments

Comments
 (0)