mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 12:29:43 +01:00
cs fixes
This commit is contained in:
parent
322a1de938
commit
a193a3b6d0
@ -15,7 +15,6 @@ use PhpParser\Node\Name\FullyQualified;
|
||||
use PhpParser\Node\Stmt\ClassLike;
|
||||
use PhpParser\Node\Stmt\Property;
|
||||
use PhpParser\NodeVisitorAbstract;
|
||||
use PhpParser\PrettyPrinter\Standard;
|
||||
use Rector\Exception\NotImplementedException;
|
||||
use Rector\Node\Attribute;
|
||||
use Rector\NodeTypeResolver\TypeContext;
|
||||
@ -35,12 +34,7 @@ final class TypeResolver extends NodeVisitorAbstract
|
||||
*/
|
||||
private $perNodeResolvers = [];
|
||||
|
||||
/**
|
||||
* @var Standard
|
||||
*/
|
||||
private $standardPrinter;
|
||||
|
||||
public function __construct(TypeContext $typeContext, Standard $standardPrinter)
|
||||
public function __construct(TypeContext $typeContext)
|
||||
{
|
||||
$this->typeContext = $typeContext;
|
||||
|
||||
@ -60,7 +54,6 @@ final class TypeResolver extends NodeVisitorAbstract
|
||||
$this->perNodeResolvers[Property::class] = function (Property $propertyNode): void {
|
||||
$this->processProperty($propertyNode);
|
||||
};
|
||||
$this->standardPrinter = $standardPrinter;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user