📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 13:19:24
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
phpdocumentor
/
type-resolver
/
src
/
PseudoTypes
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/phpdocumentor/type-resolver/src/PseudoTypes
🔄 Refresh
✏️
Editing: ArrayShape.php
Writable
<?php /* * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @link http://phpdoc.org * */ declare(strict_types=1); namespace phpDocumentor\Reflection\PseudoTypes; use phpDocumentor\Reflection\PseudoType; use phpDocumentor\Reflection\Type; use phpDocumentor\Reflection\Types\Array_; use phpDocumentor\Reflection\Types\ArrayKey; use phpDocumentor\Reflection\Types\Mixed_; use function implode; /** @psalm-immutable */ class ArrayShape implements PseudoType { /** @var ArrayShapeItem[] */ private $items; public function __construct(ArrayShapeItem ...$items) { $this->items = $items; } /** * @return ArrayShapeItem[] */ public function getItems(): array { return $this->items; } public function underlyingType(): Type { return new Array_(new Mixed_(), new ArrayKey()); } public function __toString(): string { return 'array{' . implode(', ', $this->items) . '}'; } }
💾 Save Changes
❌ Cancel