File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/lint/src/test/kotlin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class FirebaseAppGetDetectorTests : LintDetectorTest() {
120120 val instance = FirebaseApp.getInstance().get(Foo::class.java)
121121
122122 @JvmStatic
123- fun getInstance(app: FirebaseApp) = app.get(Foo::class.java)
123+ fun getInstance(app: FirebaseApp): Foo = app.get(Foo::class.java)
124124 }
125125 }
126126 """
@@ -145,7 +145,7 @@ class FirebaseAppGetDetectorTests : LintDetectorTest() {
145145 val instance = FirebaseApp.getInstance().get(FooImpl::class.java)
146146
147147 @JvmStatic
148- fun getInstance(app: FirebaseApp) = app.get(FooImpl::class.java)
148+ fun getInstance(app: FirebaseApp): Foo = app.get(FooImpl::class.java)
149149 }
150150 }
151151 class FooImpl : Foo()
You can’t perform that action at this time.
0 commit comments