File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33class FooClassForNodeScopeResolverTestingWithoutNamespace
44{
55
6- public function misleadingBoolReturnType (): boolean
6+ public function misleadingBoolReturnType (): \ boolean
77 {
88
99 }
1010
11- public function misleadingIntReturnType (): integer
11+ public function misleadingIntReturnType (): \ integer
1212 {
1313
1414 }
Original file line number Diff line number Diff line change 55class Foo
66{
77
8- public function misleadingBoolReturnType (): boolean
8+ public function misleadingBoolReturnType (): \ MisleadingTypes \ boolean
99 {
1010
1111 }
1212
13- public function misleadingIntReturnType (): integer
13+ public function misleadingIntReturnType (): \ MisleadingTypes \ integer
1414 {
1515
1616 }
Original file line number Diff line number Diff line change 33class FooWithoutNamespace
44{
55
6- public function misleadingBoolReturnType (): boolean
6+ public function misleadingBoolReturnType (): \ boolean
77 {
88 if (rand (0 , 1 )) {
99 return true ;
@@ -18,7 +18,7 @@ public function misleadingBoolReturnType(): boolean
1818 }
1919 }
2020
21- public function misleadingIntReturnType (): integer
21+ public function misleadingIntReturnType (): \ integer
2222 {
2323 if (rand (0 , 1 )) {
2424 return 1 ;
Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ public function returnsNullInTernary(): int
349349 }
350350 }
351351
352- public function misleadingBoolReturnType (): boolean
352+ public function misleadingBoolReturnType (): \ ReturnTypes \ boolean
353353 {
354354 if (rand (0 , 1 )) {
355355 return true ;
@@ -362,7 +362,7 @@ public function misleadingBoolReturnType(): boolean
362362 }
363363 }
364364
365- public function misleadingIntReturnType (): integer
365+ public function misleadingIntReturnType (): \ ReturnTypes \ integer
366366 {
367367 if (rand (0 , 1 )) {
368368 return 1 ;
You can’t perform that action at this time.
0 commit comments