Skip to content

Commit

Permalink
code styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosen committed Aug 19, 2024
1 parent 9e74496 commit f418f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 63 in modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php

View workflow job for this annotation

GitHub Actions / drupal-coder (drupal)

[drupal-coder (drupal)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php#L63 <Drupal.Commenting.FunctionComment.MissingReturnComment>

Description for the @return value is missing
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:63:6: error: Description for the @return value is missing (Drupal.Commenting.FunctionComment.MissingReturnComment)
*/
Expand All @@ -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

Check failure on line 75 in modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php

View workflow job for this annotation

GitHub Actions / drupal-coder (drupal)

[drupal-coder (drupal)] modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php#L75 <Drupal.Commenting.FunctionComment.MissingReturnComment>

Description for the @return value is missing
Raw output
/github/workspace/modules/thunder_gqls/src/Plugin/GraphQL/DataProducer/ThunderSearchApiProducerBase.php:75:6: error: Description for the @return value is missing (Drupal.Commenting.FunctionComment.MissingReturnComment)
*/
Expand Down
4 changes: 1 addition & 3 deletions modules/thunder_gqls/src/Wrappers/SearchApiResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f418f08

Please sign in to comment.