Skip to content

Commit 02b2530

Browse files
authored
Merge pull request #183 from gisostallenberg/patch-1
Make Login::resolve resolveInfo nullable
2 parents 4e559d5 + a837a55 commit 02b2530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphQL/Mutations/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ class Login extends BaseAuthResolver
1313
* @param $rootValue
1414
* @param array $args
1515
* @param \Nuwave\Lighthouse\Support\Contracts\GraphQLContext|null $context
16-
* @param \GraphQL\Type\Definition\ResolveInfo $resolveInfo
16+
* @param \GraphQL\Type\Definition\ResolveInfo|null $resolveInfo
1717
* @return array
1818
*
1919
* @throws \Exception
2020
*/
21-
public function resolve($rootValue, array $args, ?GraphQLContext $context = null, ResolveInfo $resolveInfo)
21+
public function resolve($rootValue, array $args, ?GraphQLContext $context = null, ?ResolveInfo $resolveInfo)
2222
{
2323
$credentials = $this->buildCredentials($args);
2424
$response = $this->makeRequest($credentials);

0 commit comments

Comments
 (0)