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\NodeAttributes; class ArrayTypeNode implements TypeNode { use NodeAttributes; public TypeNode $type; public function __construct(TypeNode $type) { $this->type = $type; } public function __toString(): string { if ( $this->type instanceof CallableTypeNode || $this->type instanceof ConstTypeNode || $this->type instanceof NullableTypeNode ) { return '(' . $this->type . ')[]'; } return $this->type . '[]'; } }
[-] IntersectionTypeNode.php
[edit]
[-] NullableTypeNode.php
[edit]
[-] ArrayShapeNode.php
[edit]
[+]
..
[-] InvalidTypeNode.php
[edit]
[-] ObjectShapeNode.php
[edit]
[-] ArrayShapeUnsealedTypeNode.php
[edit]
[-] ArrayTypeNode.php
[edit]
[-] ConstTypeNode.php
[edit]
[-] IdentifierTypeNode.php
[edit]
[-] CallableTypeNode.php
[edit]
[-] ConditionalTypeForParameterNode.php
[edit]
[-] GenericTypeNode.php
[edit]
[-] UnionTypeNode.php
[edit]
[-] ThisTypeNode.php
[edit]
[-] OffsetAccessTypeNode.php
[edit]
[-] ArrayShapeItemNode.php
[edit]
[-] TypeNode.php
[edit]
[-] ConditionalTypeNode.php
[edit]
[-] ObjectShapeItemNode.php
[edit]
[-] CallableTypeParameterNode.php
[edit]