mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 18:00:50 +00:00
5edd3689a8
bb59a7c99a
[DX] Inline symplify/astral to use only active classes (#2851)
23 lines
495 B
PHP
23 lines
495 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\PhpDocParser\ValueObject\NodeBuilder;
|
|
|
|
use PhpParser\Builder\Use_;
|
|
use PhpParser\Node\Name;
|
|
use PhpParser\Node\Stmt\Use_ as UseStmt;
|
|
/**
|
|
* @api
|
|
* Fixed duplicated naming in php-parser and prevents confusion
|
|
*/
|
|
final class UseBuilder extends Use_
|
|
{
|
|
/**
|
|
* @param \PhpParser\Node\Name|string $name
|
|
*/
|
|
public function __construct($name, int $type = UseStmt::TYPE_NORMAL)
|
|
{
|
|
parent::__construct($name, $type);
|
|
}
|
|
}
|