File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ final class Hook {
2323
2424 /**
2525 * @var ?array<int, string>
26+ * @phpstan-var ?list<string>
2627 */
2728 protected $ aliases ;
2829
@@ -62,6 +63,7 @@ public function getName(): string {
6263
6364 /**
6465 * @return ?array<int, string>
66+ * @phpstan-return ?list<string>
6567 */
6668 public function getAliases (): ?array {
6769 return $ this ->aliases ;
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public function getContent(): string {
7070
7171 /**
7272 * @return ?array<int, string>
73+ * @phpstan-return ?list<string>
7374 */
7475 public function getTypes (): ?array {
7576 return $ this ->types ;
Original file line number Diff line number Diff line change 55
66/**
77 * @phpstan-import-type TagArray from Tag
8- * @phpstan-type TagsArray array<int, TagArray>
8+ * @phpstan-type TagsArray list< TagArray>
99 * @implements \IteratorAggregate<int, Tag>
1010 */
1111final class Tags implements \Countable, \IteratorAggregate {
You can’t perform that action at this time.
0 commit comments