Skip to content

Commit

Permalink
PHPCS fix (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli authored Feb 2, 2023
1 parent f828090 commit eb83f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/AppApiKeyAddFormBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit eb83f62

Please sign in to comment.