Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"illuminate/validation": "^9 || ^10 || ^11 || ^12",
"laragraph/utils": "^1.5 || ^2",
"thecodingmachine/safe": "^1 || ^2 || ^3",
"webonyx/graphql-php": "^15"
"webonyx/graphql-php": "dev-nodelist-array-access as 15.1.1"
},
"require-dev": {
"algolia/algoliasearch-client-php": "^3",
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Schema/Directives/BaseDirectiveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function testHydrateShouldResetCachedArgs(): void
$field = Parser::fieldDefinition('foo: ID @dummy(arg: "new value")');

$directive->hydrate(
$field->directives[0],
$field->directives->get(0),
$field,
);

Expand Down Expand Up @@ -286,7 +286,7 @@ public function __call(string $method, array $args): mixed
};

$directive->hydrate(
$fieldDefinition->directives[0],
$fieldDefinition->directives->get(0),
$fieldDefinition,
);

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Schema/ResolverProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function constructFieldValue(string $fieldDefinition, string $parentType

return new FieldValue(
$typeValue,
$queryType->fields[0],
$queryType->fields->get(0),
);
}
}
Loading