Skip to content

Commit 838ff1e

Browse files
authored
Fix example of return type on AddParamTypeFromDependsRector (#527)
1 parent 047c2a4 commit 838ff1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/CodeQuality/Rector/Class_/AddParamTypeFromDependsRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getRuleDefinition(): RuleDefinition
4242
4343
final class SomeTest extends TestCase
4444
{
45-
public function test()
45+
public function test(): \stdClass
4646
{
4747
return new \stdClass();
4848
}
@@ -62,7 +62,7 @@ public function testAnother($someObject)
6262
6363
final class SomeTest extends TestCase
6464
{
65-
public function test()
65+
public function test(): \stdClass
6666
{
6767
return new \stdClass();
6868
}

0 commit comments

Comments
 (0)