From 803b7833c97942b3f70d5cad2d226cd5c8627fc2 Mon Sep 17 00:00:00 2001
From: Igor Biki <ibiki@uwaterloo.ca>
Date: Wed, 4 Aug 2021 13:18:51 -0400
Subject: [PATCH] ISTWCMS-4917: Code standards.

---
 src/Service/UWService.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/Service/UWService.php b/src/Service/UWService.php
index f379d729..e476b8b0 100644
--- a/src/Service/UWService.php
+++ b/src/Service/UWService.php
@@ -68,7 +68,7 @@ class UWService implements UWServiceInterface {
    *   The simplify_menu menu items.
    * @param \Drupal\path_alias\AliasManager $pathAliasManager
    *   The Drupal path alias manager.
-   * @parm \Symfony\Component\HttpFoundation\RequestStack $requestStack
+   * @param \Symfony\Component\HttpFoundation\RequestStack $requestStack
    *   The request stack.
    */
   public function __construct(EntityTypeManagerInterface $entityTypeManager, Connection $database, MenuItems $simplifyMenu, AliasManager $pathAliasManager, RequestStack $requestStack) {
@@ -663,7 +663,8 @@ class UWService implements UWServiceInterface {
       if ($date['duration'] < '1439') {
         $start_date = date('l, F j, Y g:i A', $date['value']);
         $end_date = date('g:i A', $date['end_value']);
-      } // This is not the day, get the start and end date with time.
+      }
+      // This is not the day, get the start and end date with time.
       else {
         $start_date = date('l, F j, Y g:i A', $date['value']);
         $end_date = date('l, F j, Y g:i A', $date['end_value']);
-- 
GitLab