Skip to content

Commit 6aa2a38

Browse files
authored
Revert "Update fixture for __toString() when parent mixed return, to always a…"
This reverts commit 246c7a7.
1 parent 246c7a7 commit 6aa2a38

File tree

2 files changed

+13
-33
lines changed

2 files changed

+13
-33
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Rector\Tests\DowngradePhp80\Rector\ClassMethod\DowngradeStringReturnTypeOnToStringRector\Fixture;
4+
5+
use Rector\Tests\DowngradePhp80\Rector\ClassMethod\DowngradeStringReturnTypeOnToStringRector\Source\ParentClassWithToStringMixedReturn;
6+
7+
class SkipParentMixedReturn extends ParentClassWithToStringMixedReturn
8+
{
9+
public function __toString()
10+
{
11+
return 'value';
12+
}
13+
}

rules-tests/DowngradePhp80/Rector/ClassMethod/DowngradeStringReturnTypeOnToStringRector/Fixture/with_parent_mixed_return.php.inc

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)