Skip to content

Commit 6a6bf30

Browse files
committed
fix phpstan
1 parent 0b4d348 commit 6a6bf30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugin/DataProducerPluginManager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ public function __construct(
9292
$this->resultCacheBackend = $resultCacheBackend;
9393

9494
// We don't use dependency injection here to avoid a constructor signature
95-
// change.
96-
$this->populateContextDefaults = \Drupal::config('graphql.settings')->get('dataproducer_populate_default_values', TRUE);
95+
// change. @phpstan-ignore-next-line
96+
$this->populateContextDefaults = \Drupal::config('graphql.settings')->get('dataproducer_populate_default_values') ?? TRUE;
9797
}
9898

9999
/**

0 commit comments

Comments
 (0)