mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Use Method instead of Function where able
This commit is contained in:
@@ -42,14 +42,14 @@ class OpenFileFun extends Function {
|
||||
/**
|
||||
* The `os.File.Close` function.
|
||||
*/
|
||||
class CloseFileFun extends Function {
|
||||
class CloseFileFun extends Method {
|
||||
CloseFileFun() { this.hasQualifiedName("os.File", "Close") }
|
||||
}
|
||||
|
||||
/**
|
||||
* The `os.File.Sync` function.
|
||||
*/
|
||||
class SyncFileFun extends Function {
|
||||
class SyncFileFun extends Method {
|
||||
SyncFileFun() { this.hasQualifiedName("os.File", "Sync") }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user