mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
cleanup
This commit is contained in:
parent
038f18223c
commit
290dffbb53
@ -15,12 +15,10 @@ final class IndexTagValueNode extends AbstractDoctrineTagValueNode implements Ta
|
||||
*/
|
||||
private $tag;
|
||||
|
||||
public function __construct(Index $index, ?string $originalContent = null, ?string $originalTag = null)
|
||||
public function __construct(Index $index, ?string $content = null, ?string $originalTag = null)
|
||||
{
|
||||
$this->items = get_object_vars($index);
|
||||
$this->tag = $originalTag;
|
||||
|
||||
$this->resolveOriginalContentSpacingAndOrder($originalContent);
|
||||
parent::__construct($index, $content);
|
||||
}
|
||||
|
||||
public function getTag(): ?string
|
||||
|
@ -17,13 +17,11 @@ final class UniqueConstraintTagValueNode extends AbstractDoctrineTagValueNode im
|
||||
|
||||
public function __construct(
|
||||
UniqueConstraint $uniqueConstraint,
|
||||
?string $originalContent = null,
|
||||
?string $content = null,
|
||||
?string $originalTag = null
|
||||
) {
|
||||
$this->items = get_object_vars($uniqueConstraint);
|
||||
$this->tag = $originalTag;
|
||||
|
||||
$this->resolveOriginalContentSpacingAndOrder($originalContent);
|
||||
parent::__construct($uniqueConstraint, $content);
|
||||
}
|
||||
|
||||
public function getTag(): ?string
|
||||
|
@ -18,10 +18,9 @@ final class JMSInjectTagValueNode extends AbstractTagValueNode implements ShortN
|
||||
|
||||
public function __construct(Inject $inject, ?string $serviceName, ?string $annotationContent)
|
||||
{
|
||||
$this->items = get_object_vars($inject);
|
||||
$this->serviceName = $serviceName;
|
||||
|
||||
$this->resolveOriginalContentSpacingAndOrder($annotationContent);
|
||||
parent::__construct($inject, $annotationContent);
|
||||
}
|
||||
|
||||
public function getServiceName(): ?string
|
||||
|
Loading…
x
Reference in New Issue
Block a user