Skip to content

Commit 2c94567

Browse files
authored
Add missing return types (#1783)
1 parent 79c3cfa commit 2c94567

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Type/Definition/HasFieldsTypeImplementation.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ public function hasField(string $name): bool
6363
return isset($this->fields[$name]);
6464
}
6565

66-
/** @throws InvariantViolation */
66+
/**
67+
* @throws InvariantViolation
68+
*
69+
* @return array<string, FieldDefinition>
70+
*/
6771
public function getFields(): array
6872
{
6973
$this->initializeFields();
@@ -78,6 +82,7 @@ public function getFields(): array
7882
return $this->fields;
7983
}
8084

85+
/** @return array<string, FieldDefinition> */
8186
public function getVisibleFields(): array
8287
{
8388
return array_filter(

0 commit comments

Comments
 (0)