mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 02:36:52 +01:00
2da49992cc
[Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
18 lines
326 B
PHP
18 lines
326 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\NodeNameResolver\Contract;
|
|
|
|
use PhpParser\Node;
|
|
interface NodeNameResolverInterface
|
|
{
|
|
/**
|
|
* @return class-string<Node>
|
|
*/
|
|
public function getNode() : string;
|
|
/**
|
|
* @param \PhpParser\Node $node
|
|
*/
|
|
public function resolve($node) : ?string;
|
|
}
|