Skip to content
Snippets Groups Projects
Commit d8a66a1b authored by Alex Pott's avatar Alex Pott Committed by Klaus Purer
Browse files

test(dataproducer): Add helper methods that are needed by graphql_core_schema...

test(dataproducer): Add helper methods that are needed by graphql_core_schema module (#3515177 by alexpott)
parent 601f0539
No related branches found
No related tags found
No related merge requests found
Pipeline #458566 passed
......@@ -23,6 +23,7 @@ variables:
phpstan (custom):
extends: phpstan
allow_failure: false
rules:
- when: on_success
needs:
......
......@@ -14,4 +14,25 @@ class TestFieldContext extends FieldContext {
*/
public function __construct() {}
/**
* {@inheritdoc}
*/
public function getContextValue($name) {
return NULL;
}
/**
* {@inheritdoc}
*/
public function setContextValue($name, $value) {
return $this;
}
/**
* {@inheritdoc}
*/
public function hasContextValue($name) {
return FALSE;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment