Skip to content

Commit 5ccd288

Browse files
committed
marker
1 parent 94c1534 commit 5ccd288

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rules/Transform/Rector/ClassMethod/ReturnTypeWillChangeRector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PhpParser\Node;
88
use PhpParser\Node\Stmt\Class_;
99
use PhpParser\Node\Stmt\Interface_;
10+
use Rector\Configuration\Deprecation\Contract\DeprecatedInterface;
1011
use Rector\Contract\Rector\ConfigurableRectorInterface;
1112
use Rector\Exception\ShouldNotHappenException;
1213
use Rector\Rector\AbstractRector;
@@ -19,7 +20,7 @@
1920
/**
2021
* @deprecated as not used in any set, and discourages from type coverage and leads to worse code. Use type declaration set instead, to actually increase type coverage.
2122
*/
22-
final class ReturnTypeWillChangeRector extends AbstractRector implements MinPhpVersionInterface, ConfigurableRectorInterface
23+
final class ReturnTypeWillChangeRector extends AbstractRector implements MinPhpVersionInterface, ConfigurableRectorInterface, DeprecatedInterface
2324
{
2425
public function getRuleDefinition(): RuleDefinition
2526
{

0 commit comments

Comments
 (0)