diff --git a/rules-tests/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedCallRector/Fixture/return_in_test_metohd.php.inc b/rules-tests/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedCallRector/Fixture/return_in_test_metohd.php.inc new file mode 100644 index 00000000000..1c129ee9898 --- /dev/null +++ b/rules-tests/TypeDeclaration/Rector/ClassMethod/ReturnTypeFromStrictTypedCallRector/Fixture/return_in_test_metohd.php.inc @@ -0,0 +1,41 @@ +getValue(); + } + + private function getValue(): int + { + return 123; + } +} + +?> +----- +getValue(); + } + + private function getValue(): int + { + return 123; + } +} + +?>