/opt/cpanel/ea-wappspector/vendor/rector/rector/src/BetterPhpDocParser/PhpDoc
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/src/BetterPhpDocParser/PhpDoc/ArrayItemNode.php (1206B)
value = $value;
$this->key = $key;
}
public function __toString() : string
{
$value = '';
if ($this->key !== null && !\is_int($this->key)) {
$value .= $this->key . '=';
}
if (\is_array($this->value)) {
foreach ($this->value as $singleValue) {
$value .= $singleValue;
}
} elseif ($this->value instanceof \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode) {
$value .= '@' . \ltrim((string) $this->value->identifierTypeNode, '@') . $this->value;
} else {
$value .= $this->value;
}
return $value;
}
}