Skip to content

Commit b45e070

Browse files
committed
Fix example of return type on AddParamTypeFromDependsRector
1 parent 047c2a4 commit b45e070

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)