Skip to content

Commit

Permalink
Merge pull request #310 from localgovdrupal/fix/1.x/phpdoc-fixes
Browse files Browse the repository at this point in the history
chore: PHPDoc fixes
  • Loading branch information
finnlewis authored Mar 5, 2024
2 parents 289f70f + a1dbc7d commit 2933500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $localgov
protected function prepareRevertedRevision(AlertBannerEntityInterface $revision, FormStateInterface $form_state) {
$revert_untranslated_fields = $form_state->getValue('revert_untranslated_fields');

/** @var \Drupal\localgov_alert_banner\Entity\AlertBannerEntityInterface $default_revision */
/** @var \Drupal\localgov_alert_banner\Entity\AlertBannerEntityInterface $latest_revision */
$latest_revision = $this->alertBannerEntityStorage->load($revision->id());
$latest_revision_translation = $latest_revision->getTranslation($this->langcode);

Expand Down

0 comments on commit 2933500

Please sign in to comment.