Page MenuHomeWickedGov Phorge

ParamClosureThisTagValueNode.php
No OneTemporary

Size
719 B
Referenced Files
None
Subscribers
None

ParamClosureThisTagValueNode.php

<?php declare(strict_types = 1);
namespace PHPStan\PhpDocParser\Ast\PhpDoc;
use PHPStan\PhpDocParser\Ast\NodeAttributes;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use function trim;
class ParamClosureThisTagValueNode implements PhpDocTagValueNode
{
use NodeAttributes;
public TypeNode $type;
public string $parameterName;
/** @var string (may be empty) */
public string $description;
public function __construct(TypeNode $type, string $parameterName, string $description)
{
$this->type = $type;
$this->parameterName = $parameterName;
$this->description = $description;
}
public function __toString(): string
{
return trim("{$this->type} {$this->parameterName} {$this->description}");
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 22, 21:21 (2 d, 3 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
59/43/c86bba0596572523c47c15d87602
Default Alt Text
ParamClosureThisTagValueNode.php (719 B)

Event Timeline