Skip to content

Commit 6a4785d

Browse files
committed
Fixed incorrect type hints in method docs
1 parent e7cde5e commit 6a4785d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GraphQL.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ public static function execute(Schema $schema, $requestString, $rootValue = null
4242
/**
4343
* @param Schema $schema
4444
* @param string|DocumentNode $requestString
45-
* @param null $rootValue
46-
* @param null $variableValues
47-
* @param null $operationName
45+
* @param mixed $rootValue
46+
* @param array|null $variableValues
47+
* @param string|null $operationName
4848
* @return ExecutionResult|Promise
4949
*/
5050
public static function executeAndReturnResult(Schema $schema, $requestString, $rootValue = null, $contextValue = null, $variableValues = null, $operationName = null)

0 commit comments

Comments
 (0)