Skip to content

Commit f8e9e6b

Browse files
committed
types
1 parent 3c729c4 commit f8e9e6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Type/Introspection.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ public static function getTypes()
202202
* Default: true
203203
*
204204
* @param bool[]|bool $options
205+
* @return mixed[]|null
205206
*/
206-
public static function fromSchema(Schema $schema, array $options = [])
207+
public static function fromSchema(Schema $schema, array $options = []): ?array
207208
{
208209
$result = GraphQL::executeQuery(
209210
$schema,

0 commit comments

Comments
 (0)