From eb83f625a502930288ebada0531f7c457c52d8c0 Mon Sep 17 00:00:00 2001 From: Shishir <75600200+shishir-intelli@users.noreply.github.com> Date: Thu, 2 Feb 2023 13:11:15 +0530 Subject: [PATCH] PHPCS fix (#795) --- src/Form/AppApiKeyAddFormBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Form/AppApiKeyAddFormBase.php b/src/Form/AppApiKeyAddFormBase.php index c7d6c527..3d31b2a3 100644 --- a/src/Form/AppApiKeyAddFormBase.php +++ b/src/Form/AppApiKeyAddFormBase.php @@ -180,12 +180,12 @@ public function submitForm(array &$form, FormStateInterface $form_state) { if ($api_products === []) { // Is this a skeleton key? $this->messenger()->addWarning($this->t('The @app @app_entity_label has no @apis associated.', $t_args + [ - '@app_entity_label' => $this->app->getEntityType()->getSingularLabel(), + '@app_entity_label' => $this->app->getEntityType()->getSingularLabel(), // @todo DI dependency. // phpcs:disable '@apis' => \Drupal::entityTypeManager()->getDefinition('api_product')->getPluralLabel(), // phpcs:enable - ])); + ])); return; }