PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
phpstan
/
phpdoc-parser
/
src
/
Ast
/
Type
<?php declare(strict_types = 1); namespace PHPStan\PhpDocParser\Ast\Type; use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\NodeAttributes; use function sprintf; class ArrayShapeUnsealedTypeNode implements Node { use NodeAttributes; public TypeNode $valueType; public ?TypeNode $keyType = null; public function __construct(TypeNode $valueType, ?TypeNode $keyType) { $this->valueType = $valueType; $this->keyType = $keyType; } public function __toString(): string { if ($this->keyType !== null) { return sprintf('<%s, %s>', $this->keyType, $this->valueType); } return sprintf('<%s>', $this->valueType); } /** * @param array<string, mixed> $properties */ public static function __set_state(array $properties): self { $instance = new self($properties['valueType'], $properties['keyType']); if (isset($properties['attributes'])) { foreach ($properties['attributes'] as $key => $value) { $instance->setAttribute($key, $value); } } return $instance; } }
[+]
..
[-] ArrayShapeItemNode.php
[edit]
[-] ArrayShapeNode.php
[edit]
[-] ArrayShapeUnsealedTypeNode.php
[edit]
[-] ArrayTypeNode.php
[edit]
[-] CallableTypeNode.php
[edit]
[-] CallableTypeParameterNode.php
[edit]
[-] ConditionalTypeForParameterNode.php
[edit]
[-] ConditionalTypeNode.php
[edit]
[-] ConstTypeNode.php
[edit]
[-] GenericTypeNode.php
[edit]
[-] IdentifierTypeNode.php
[edit]
[-] IntersectionTypeNode.php
[edit]
[-] InvalidTypeNode.php
[edit]
[-] NullableTypeNode.php
[edit]
[-] ObjectShapeItemNode.php
[edit]
[-] ObjectShapeNode.php
[edit]
[-] OffsetAccessTypeNode.php
[edit]
[-] ThisTypeNode.php
[edit]
[-] TypeNode.php
[edit]
[-] UnionTypeNode.php
[edit]