From 71f1a48ce86455c878c89dd0336637de760cc669 Mon Sep 17 00:00:00 2001 From: Lee Mills <8024370+millnut@users.noreply.github.com> Date: Sat, 2 Mar 2024 18:44:35 +0000 Subject: [PATCH] chore: PHPDoc fixes --- .../src/EntityChildRelationshipUi.php | 4 ++-- .../localgov_services_status/localgov_services_status.module | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php b/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php index 5df131e..e4508c7 100644 --- a/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php +++ b/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php @@ -141,7 +141,7 @@ public function formAlter(array &$form, FormStateInterface $form_state, $form_id /** * Return 'extra field' with list of non-linked child nodes. * - * @param \Drupal\Node\NodeInterface $node + * @param \Drupal\node\NodeInterface $node * The `localgov_service_landing` or `localgov_service_sublanding`. * * @return array @@ -196,7 +196,7 @@ protected function childrenField(NodeInterface $node) { * Made public as it's prossibly helpful, although it could live in a * different class? * - * @param Drupal\Node\NodeInterface $node + * @param \Drupal\node\NodeInterface $node * The `localgov_service_landing` or `localgov_service_sublanding`. */ public static function referencedChildren(NodeInterface $node) { diff --git a/modules/localgov_services_status/localgov_services_status.module b/modules/localgov_services_status/localgov_services_status.module index 717a9fa..8c65a3d 100644 --- a/modules/localgov_services_status/localgov_services_status.module +++ b/modules/localgov_services_status/localgov_services_status.module @@ -109,7 +109,7 @@ function localgov_services_status_node_presave(NodeInterface $entity) { * Implements hook_preprocess_HOOK(). */ function localgov_services_status_preprocess_node(&$variables) { - /** @var \Drupal\Entity\NodeInterface $node */ + /** @var \Drupal\node\NodeInterface $node */ $node = $variables['node']; if ($node->bundle() == 'localgov_services_landing' && $variables['view_mode'] == 'full') {