We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181f43a commit 8128489Copy full SHA for 8128489
src/PseudoTypes/ArrayShape.php
@@ -32,6 +32,14 @@ public function __construct(ArrayShapeItem ...$items)
32
$this->items = $items;
33
}
34
35
+ /**
36
+ * @return ArrayShapeItem[]
37
+ */
38
+ public function getItems(): array
39
+ {
40
+ return $this->items;
41
+ }
42
+
43
public function underlyingType(): Type
44
{
45
return new Array_(new Mixed_(), new ArrayKey());
0 commit comments