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 79c3cfa commit 2c94567Copy full SHA for 2c94567
src/Type/Definition/HasFieldsTypeImplementation.php
@@ -63,7 +63,11 @@ public function hasField(string $name): bool
63
return isset($this->fields[$name]);
64
}
65
66
- /** @throws InvariantViolation */
+ /**
67
+ * @throws InvariantViolation
68
+ *
69
+ * @return array<string, FieldDefinition>
70
+ */
71
public function getFields(): array
72
{
73
$this->initializeFields();
@@ -78,6 +82,7 @@ public function getFields(): array
78
82
return $this->fields;
79
83
80
84
85
+ /** @return array<string, FieldDefinition> */
81
86
public function getVisibleFields(): array
87
88
return array_filter(
0 commit comments