Skip to content

Commit 2c09f29

Browse files
committed
fix typo
1 parent 5030587 commit 2c09f29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugin/GraphQL/DataProducer/DataProducerPluginBase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public function resolveField(FieldContext $field) {
5050
if (!method_exists($this, 'resolve')) {
5151
throw new \LogicException('Missing data producer resolve method.');
5252
}
53-
$populateDefaulktValues = $this->configuration['dataproducer_populate_default_values'] ?? TRUE;
54-
$context = $populateDefaulktValues ? $this->getContextValuesWithDefaults() : $this->getContextValues();
53+
$populateDefaultValues = $this->configuration['dataproducer_populate_default_values'] ?? TRUE;
54+
$context = $populateDefaultValues ? $this->getContextValuesWithDefaults() : $this->getContextValues();
5555
return call_user_func_array(
5656
[$this, 'resolve'],
5757
array_values(array_merge($context, [$field]))

0 commit comments

Comments
 (0)