From cbea65da988017531e73d595fc0e85746c582086 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 24 Jun 2020 15:10:53 -0300 Subject: [PATCH] Coding standards... ... also, throw in the other throws declaration. --- src/IslandoraUtils.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/IslandoraUtils.php b/src/IslandoraUtils.php index 51db0b2b..e598e216 100644 --- a/src/IslandoraUtils.php +++ b/src/IslandoraUtils.php @@ -566,14 +566,14 @@ class IslandoraUtils { * * @throws \Drupal\Core\Entity\Exception\UndefinedLinkTemplateException * Should the given entity not specify a "canonical" template. + * @throws \Drupal\Core\Entity\EntityMalformedException */ public function getEntityUrl(EntityInterface $entity) { $undefined = $this->languageManager->getLanguage('und'); return $entity->toUrl('canonical', [ - 'absolute' => TRUE, - 'language' => $undefined, - ]) - ->toString(); + 'absolute' => TRUE, + 'language' => $undefined, + ])->toString(); } /**