Page MenuHomeWickedGov Phorge

PureUnlessCallableIsImpureTagValueNode.php
No OneTemporary

Size
607 B
Referenced Files
None
Subscribers
None

PureUnlessCallableIsImpureTagValueNode.php

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

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 14:35 (4 h, 4 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
22/33/adf114017ae17d20f7c957f18a05
Default Alt Text
PureUnlessCallableIsImpureTagValueNode.php (607 B)

Event Timeline