Skip to content

Commit 21883d2

Browse files
committed
stan
1 parent 1157a77 commit 21883d2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Ast/Type/ArrayShapeNode.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,9 @@ public function __construct(array $items, bool $sealed = true, string $kind = se
3939
*/
4040
public function items(): array
4141
{
42-
/**
43-
* @var array<ArrayShapeItemNode> $res
44-
*/
45-
$res = array_filter($this->items, static function ($item) {
42+
return array_filter($this->items, static function ($item) {
4643
return $item instanceof ArrayShapeItemNode;
4744
});
48-
return $res;
4945
}
5046

5147
public function __toString(): string

0 commit comments

Comments
 (0)