Skip to content

Commit

Permalink
[TypeDeclaration] Remove USE_PHPDOC constant on AddVoidReturnTypeWher…
Browse files Browse the repository at this point in the history
…eNoReturnRector since no longer used (#4799)
  • Loading branch information
samsonasik committed Aug 16, 2023
1 parent e7f5510 commit 04f332a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
*/
final class AddVoidReturnTypeWhereNoReturnRector extends AbstractRector implements MinPhpVersionInterface
{
/**
* @api
* @var string using phpdoc instead of a native void type can ease the migration path for consumers of code being processed.
*/
public const USE_PHPDOC = 'use_phpdoc';

public function __construct(
private readonly SilentVoidResolver $silentVoidResolver,
private readonly ClassMethodReturnVendorLockResolver $classMethodReturnVendorLockResolver,
Expand Down

0 comments on commit 04f332a

Please sign in to comment.