From f418f0839b0ab8f7dd3fce66910b9087814278d3 Mon Sep 17 00:00:00 2001 From: Daniel Bosen Date: Mon, 19 Aug 2024 13:55:26 +0200 Subject: [PATCH] code styles --- .../GraphQL/DataProducer/ThunderSearchApiProducerBase.php | 4 ++-- modules/thunder_gqls/src/Wrappers/SearchApiResponse.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php b/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php index b3318fffa..0a399052e 100644 --- a/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php +++ b/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php @@ -58,7 +58,7 @@ public static function create( * Set the entity type manager service. * * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager - * The entity type manager service. + * The entity type manager service. * * @return void */ @@ -70,7 +70,7 @@ public function setEntityTypeManager(EntityTypeManagerInterface $entityTypeManag * Set the language manager service. * * @param \Drupal\Core\Language\LanguageManagerInterface $languageManager - * The language manager service. + * The language manager service. * * @return void */ diff --git a/modules/thunder_gqls/src/Wrappers/SearchApiResponse.php b/modules/thunder_gqls/src/Wrappers/SearchApiResponse.php index 471c43cfc..b85027d00 100644 --- a/modules/thunder_gqls/src/Wrappers/SearchApiResponse.php +++ b/modules/thunder_gqls/src/Wrappers/SearchApiResponse.php @@ -110,9 +110,7 @@ public function items(): array|Deferred { } // @phpstan-ignore-next-line - $searchApiResultBuffer = \Drupal::service( - 'thunder_gqls.buffer.search_api_result' - ); + $searchApiResultBuffer = \Drupal::service('thunder_gqls.buffer.search_api_result'); $ids = array_map(function ($item) { return $item->getId();